User Name Password Register
DaniWeb IT Discussion Community
All
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 391,908 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 3,580 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: 1491 | Replies: 1
Reply
Join Date: Nov 2006
Posts: 3
Reputation: ChoosenJoe is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ChoosenJoe ChoosenJoe is offline Offline
Newbie Poster

Does window.stop() work in IE?

  #1  
Nov 16th, 2006
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?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: india
Posts: 143
Reputation: katarey is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 15
katarey's Avatar
katarey katarey is offline Offline
Junior Poster

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

  #2  
Nov 16th, 2006
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
Freelance Web Designer & Developer
Http//www.Katarey.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 7:45 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC