By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,689 Members | 1,915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,689 IT Pros & Developers. It's quick & easy.

IE says "Cannot display webpage" when script reference is in body?

P: 97
Hi there,

a very strange happened. It seems that IE (7 and 8) can't load a webpage when the script reference (script language="javascript" type="text/javascript" src="..:") is in the body... It should be normally put into the header, that's clear. But sometimes, on dynamic web portals, it seems really complicated to do that. So, on some occasions, I insert the script somewhere in the body. But it seems that is something IE really does not like. When I put the same reference in the header, no problem.

I am surprised to see that behavior. Is there anything I can do? Besides doing the effort to put all the references than into the header?

Thanks for any hints.
Jan 21 '10 #1
Share this Question
Share on Google+
2 Replies


P: 97
Hmmm.... looks like the "wz_tooltip.js", which has to be placed after the HEAD generates touble....
Jan 21 '10 #2

acoder
Expert Mod 15k+
P: 16,027
Do you have a test page or some example code to reproduce the problem?
Jan 31 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.