acidglitter Posted May 15, 2008 Share Posted May 15, 2008 Does anyone know why onload only works if you put it in the body tag? Because for some pages I want to put it in a specific div but then it won't work... Quote Link to comment Share on other sites More sharing options...
mainewoods Posted May 16, 2008 Share Posted May 16, 2008 because that's the specs: http://www.w3schools.com/jsref/jsref_onload.asp Quote Link to comment Share on other sites More sharing options...
mainewoods Posted May 16, 2008 Share Posted May 16, 2008 here's th specs for that event: http://www.w3schools.com/jsref/jsref_onload.asp Quote Link to comment Share on other sites More sharing options...
acidglitter Posted May 19, 2008 Author Share Posted May 19, 2008 okay thanks Quote Link to comment 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.