On Sep 26, 11:25 am, davidemazz...@gmail.com wrote:
> I got an [object error] from IE 7.0.5730.11 when moving the <script
> src="..." type="text/javascript" /> tag from the <head> part to the
> <body> section of a HTML file.
Don't use <script ... /> unless you are serving your XHTML as
application/xhtml+xml, it causes things to break.
http://www.w3.org/TR/xhtml1/#C_3
> Is not possibile to include Javascript code via <script src="..."
> type="text/javascript" /> from the <body> section, instead from the
> <head> one?
Yes.
> If yes, anyone has any idea of which the problem could be?
Trying to use something in on script that depends on the other script
running first is a good bet.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/