•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,037 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,516 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1604 | Replies: 1
![]() |
•
•
Join Date: Nov 2006
Posts: 3
Reputation:
Rep Power: 0
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
Freelance Web Designer & Developer
Http//www.Katarey.com
Http//www.Katarey.com
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- 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 / 2003)
- 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)


Linear Mode