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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

avoid a lazy loop

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
gday

how can i acoid that javascript hangs up my computer in a
while(..)
{
}

loop. is there a command that tells javascript to do other actions beside looping ?

the problem is that my loop is checking for a particular line in the html code while a page is loading - but the loop is interrupting the loading process.

thanks for helping me
 
sounds like bad code...show the script. ======================================

if (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top