PDA

View Full Version : Does the window.stop() function work?


yandina
10-07-2002, 06:45 AM
When displaying the shopping cart I check to see if the customer's cookie is still stored. If it is not, I document.write a message to that effect near the top of the HTML page, and then window.stop() in an attempt to cease loading the page which would have blank form stuff.

The window.stop() function doesn't work and it appears to create an error and stop javascript processing. Is this feature implemented and if so, what am I doing wrong? I'm using IE5.5.

glenngv
10-07-2002, 09:33 AM
it's for NS only

yandina
10-07-2002, 02:19 PM
Thanks, Glenn. I guess the only way to do it then is include all the rest of the HTML in a conditional document.write :(