• Welcome to the PopMalt Forums! Whether you're new to forums or a veteran, welcome to our humble home on the web! We're a 20-year old forum community with thousands of discussions on entertainment, lifestyle, leisure, and more.

    Our rules are simple. Be nice and don't spam. Registration is free, so what are you waiting for? Join today!.

Does window.stop() work in IE?

Ross_G

New Member
I am trying to use Javascript to stop a web page processing a search when the user hits a cancel button. In Netscape,

window.stop() seems to work (in the same way as the Stop button on the browser I guess). However, this does not work in

IE. Is there any other method that can be used to get the same result?
 

Reverend

Registered Member
window.stop() seems to work (in the same way as the Stop button on the browser I guess). However, this does not work in IE. Is there any other method that can be used to get the same result?
I think in IE you might be able to use the document.execCommand('Stop') command. That's not officially part of the Javascript spec, but I think it works.

I gave up on a lot of heavy-duty javascript for those exact reasons :-/

Pete
 
Top