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... Link to comment https://forums.phpfreaks.com/topic/105848-solved-tiny-onload-question/ 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 Link to comment https://forums.phpfreaks.com/topic/105848-solved-tiny-onload-question/#findComment-542542 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 Link to comment https://forums.phpfreaks.com/topic/105848-solved-tiny-onload-question/#findComment-542544 Share on other sites More sharing options...
acidglitter Posted May 19, 2008 Author Share Posted May 19, 2008 okay thanks Link to comment https://forums.phpfreaks.com/topic/105848-solved-tiny-onload-question/#findComment-545134 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.