justAnoob Posted December 11, 2009 Share Posted December 11, 2009 I have this function that is ran when the submit button is clicked. As you can see, it will display the div that is hidden. Inside that div is an animated gif. The animation only runs in FF but not IE. Is there any way around this problem? function do_submit() { document.getElementById("wait_msg").style.display = "block"; return true; } <div id="wait_msg" style="display: none;"><img src="images/progress_indicator.gif" /></div> Quote Link to comment https://forums.phpfreaks.com/topic/184808-works-in-ff-but-not-ie/ Share on other sites More sharing options...
.josh Posted December 12, 2009 Share Posted December 12, 2009 Are you saying that the image is not showing in IE when the button is clicked? As in, the div style isn't being changed? That code looks okay. Assuming your syntax is right in your button's onclick, there's no reason your code shouldn't work in IE. Did you make sure you have js enabled? What version are you using? Quote Link to comment https://forums.phpfreaks.com/topic/184808-works-in-ff-but-not-ie/#findComment-975827 Share on other sites More sharing options...
ngreenwood6 Posted December 12, 2009 Share Posted December 12, 2009 i would check if there are any javascript errors. if there are post them here. in IE you can see javascript errors by looking in the bottom left hand corner. if there is an error there will be a yellow exclamation point. also if you like using firebug in FF there is firebug lite that can be used in IE to help troubleshoot. Quote Link to comment https://forums.phpfreaks.com/topic/184808-works-in-ff-but-not-ie/#findComment-975865 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.