Gif file wont show up in chrome but it will in IE
I dont know why in IE i can see this gif file just fine, but chrome will
return a cancelled status (see network image status below)
My code basically tries to show this gif file inside a hidden panel that
is made visible when a button is clicked
<script type="text/javascript">
function loadingSubmit() {
$("#<%=lblConfirmation.ClientID %>").before("<img
src='Images/478.gif' style='z-index:10;' />");
$("#<%=Table1.ClientID %>").css("z-index", "9");
$("#<%=lblConfirmation.ClientID %>").css("display", "none");
$("#<%=imgBtnNo.ClientID %>").css("display", "none");
$("#<%=imgBtnYes.ClientID %>").css("display", "none");
}
</script>
<asp:ImageButton ID="imgBtnYes" runat="server"
ImageUrl="~/Images/btnyes.jpg" OnClick="imgBtnYes_onClick"
OnClientClick="loadingSubmit()" />
HELP...
No comments:
Post a Comment