954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Does window.stop() work in IE?

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?

ChoosenJoe
Newbie Poster
3 posts since Nov 2006
Reputation Points: 10
Solved Threads: 0
 

hi,

IE4+ doesn't support the
window.stop
method. Instead, the
document.execCommand
method has an (previously) undocumented argument called Stop, which
allows you to call
document.execCommand('Stop')
to get the same effect as
window.stop()
in Netscape.

It should be noted that using this repeatedly in IE 5.x (especially
within frames) can cause a browser crash.

see this http://www.faqts.com/knowledge_base/view.phtml/aid/1792

katarey
Junior Poster
167 posts since Jul 2005
Reputation Points: 39
Solved Threads: 23
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You