www.webdeveloper.com
Results 1 to 3 of 3

Thread: Problem using Javascript to refresh page in IE

Hybrid View

  1. #1
    Join Date
    Aug 2010
    Posts
    2

    Unhappy Problem using Javascript to refresh page in IE

    I have tried the following code to make the page refresh using Javascript and all of them give a 500 Internal Error in IE. I have no problem in FF,CH,SF.

    I know I cannot be the only one who has a problem getting IE to refresh using javascript.

    window.location.href = window.location.href;
    window.location.href = window.location.pathname;
    window.location = $(location).attr('href');
    window.location.href = $(location).attr('href');
    location.reload();
    location.reload(true);
    window.location.reload();
    window.location.reload(true);
    window.setTimeout(location.reload(),0);
    window.setTimeout(location.reload(true),0);
    window.setTimeout(window.location.reload(),0);
    window.setTimeout(window.location.reload(true),0);
    window.location = window.location;

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Aug 2010
    Posts
    2
    The problem is that everyone who views the page in IE and then the javascript runs faces the problem, and I cannot make all users change this setting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles