Computer Help Forum

Go Back   vBulletin and Computer Help Forum > Website Support and Management > Website Development

Website Development Web development programming languanges, HTML, PHP, MySQL and design support.

Reply
 
Thread Tools Display Modes
Old 11-22-2006   #1
VovaM
Banned
 
Join Date: Nov 2006
Posts: 3
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?

Last edited by Greg; 11-22-2006 at 02:07 PM.
VovaM is offline   Reply With Quote
Old 09-06-2012   #2
Fili0kuZ
Junior Member
 
Join Date: Sep 2012
Posts: 6
Hello,

I'm pretty sure you cannot use the window.stop() function in IE - it MAY work IE9 but im not sure (it works in any other browser though), because IE cannot stop the process.

Instead of window.stop() , use this instead:

document.execCommand("Stop");

Hope this helps you - if not, let me know

Sincerely,
Fili0kuZ
Fili0kuZ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:02 PM.



vBulletin 3.8.7 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright vB and Computer Help Forum

EZ software products copyright Greg Lynch 2006-2013