944,085 Members | Top Members by Rank

Ad:
Nov 16th, 2006
0

Does window.stop() work in IE?

Expand Post »
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?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ChoosenJoe is offline Offline
3 posts
since Nov 2006
Nov 16th, 2006
0

Re: Does window.stop() work in IE?

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
Reputation Points: 39
Solved Threads: 23
Junior Poster
katarey is offline Offline
167 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Link-style
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Selectively Printing only Certain Divs (javascript/css question)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC