Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wait for a site beeing loaded

Status
Not open for further replies.

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
 
Call the script in the <body> tag as onLoad=&quot;return yourJS();&quot; I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top