View Single Post
Old 11-13-2012, 08:59 PM   PM User | #8
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by WolfShade View Post
That's going to be an annoying event - the alert is inside the for loop.
No it isn't - most browsers now contain an extra checkbox in the alerts that they display that will either prevent the page displaying additional alerts or will turn JavaScript off for the page. Simply check that box and there will be no more annoying alerts generated by the page.

Anyway the aledrt should have been removed prior to the page going live as alert is intended for debugging scripts and not for use in live web pages.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote