aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Is there any difference if we mentin the script tags inside the Head Tag and the body Tag : Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Is there any difference if we mentin the script tags inside the Head Tag and the body Tag :" Watch "Is there any difference if we mentin the script tags inside the Head Tag and the body Tag :" New topic
Author

Is there any difference if we mentin the script tags inside the Head Tag and the body Tag :

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2229

Hi

Is there any difference if we mentin the script tags inside the Head Tag and the body Tag :


Thank you.


Save India From Corruption - Anna Hazare.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 14857
Yes because they fire at different times if you are not waiting to onload/document ready.

If you want to follow what Yahoo says: http://developer.yahoo.com/performance/rules.html#js_bottom

Eric
 
 
subject: Is there any difference if we mentin the script tags inside the Head Tag and the body Tag :
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture