| | |
Does window.stop() work in IE?
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2006
Posts: 3
Reputation:
Solved Threads: 0
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?
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
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
![]() |
Similar Threads
- Dev C++ (C++)
- Why Output Window disappears? (C++)
- opening pictures in a new window (JavaScript / DHTML / AJAX)
- install firmware-window stop function (Windows NT / 2000 / XP)
- JavaScript's window.opener (JavaScript / DHTML / AJAX)
- BUTTON DOES NOT WORK??? simple problem (C)
- 2 major problems with IE (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Scrollbar help?
- Next Thread: Selectively Printing only Certain Divs (javascript/css question)
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate api automatically blackjack browser bug calendar captchaformproblem checkbox child class close cookies createrange() cursor dependent disablefirebug dom dropdown editor element embed engine events explorer ext file firehose flash form forms game google gxt hiddenvalue highlightedword html htmlform ie8 iframe image() images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math matrixcaptcha media microsoft object onerror onmouseoutdivproblem onreadystatechange parent paypal pdf php player post progressbar rated regex runtime scroll search security session shopping size software sql star stars stretch synchronous text textarea tweet twitter unicode validation web webservice website window windowsxp wysiwyg \n





