Jul 27, 2002 #1 ahuman Technical User May 30, 2006 4 US hey there ! i got some javascript in a page, but i want to make sure that the script will only get executed if the site is fully loaded. (to avoid errors) how can java detect this? thanks alot
hey there ! i got some javascript in a page, but i want to make sure that the script will only get executed if the site is fully loaded. (to avoid errors) how can java detect this? thanks alot
Jul 27, 2002 #2 GUJUm0deL Programmer Jan 16, 2001 3,676 US Call the script in the <body> tag as onLoad="return yourJS();" I have not failed; I merely found 100,000 different ways of not succeding... Upvote 0 Downvote
Call the script in the <body> tag as onLoad="return yourJS();" I have not failed; I merely found 100,000 different ways of not succeding...
Jul 27, 2002 #3 chromonium Programmer Jun 4, 2002 36 FR or in the Javascript; window.onload=yourJs; adam hadley http://www.adamhadley.co.uk Upvote 0 Downvote