Results 1 to 3 of 3

Thread: window.stop() doesn't work in IE

  1. #1
    Join Date
    Aug 2009
    Posts
    76

    window.stop() doesn't work in IE

    I am currently working on Javascript where when a user hits a cancel button, nothing is done. However in Internet Explorer, window.stop() doesn't seems to work. I have basically designed my site for IE, and so my requirement is that it should work in IE properly. But it is not the case. How do I do this then? Do you have a better idea? And why doesn't window.stop() method work in IE?

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: window.stop() doesn't work in IE

    Where you are using the window.stop(0 method? Is it coded as below and if not then reconfirm it:

    Code:
    <form>
    <input type="button" value="stop" onClick="window.stop()">
    </form>

  3. #3
    Join Date
    Nov 2008
    Posts
    1,054

    Re: window.stop() doesn't work in IE

    Yes it is correct the window.stop() method doesn't work in IE4+ browsers. The repeated call to this may cause you the browser issues. But you can use document.execCommand method on your code. All you need to use is "Stop" argument that does the same function as window.stop().

Similar Threads

  1. How to stop opening a new window every time in chrome
    By Eeshika18 in forum Technology & Internet
    Replies: 4
    Last Post: 25-02-2012, 10:57 AM
  2. Preview doesn't work in Open dialog window Office 2007
    By Antonio00 in forum MS Office Support
    Replies: 9
    Last Post: 02-10-2010, 07:11 PM
  3. Replies: 3
    Last Post: 26-06-2010, 10:56 PM
  4. Replies: 1
    Last Post: 06-01-2009, 12:01 PM
  5. How to stop window advertising an antivirus
    By Devasis in forum Networking & Security
    Replies: 2
    Last Post: 21-08-2008, 02:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,548,779.96612 seconds with 16 queries