Results 1 to 2 of 2

Thread: window.location.reload behaves randomly

  1. #1
    Join Date
    Aug 2010
    Bangalore, India

    window.location.reload behaves randomly

    i am invoking window.opener.location.reload function from a pop up window to reload the parent page. But this seems to behave randomly. Sometimes the reload would preserve form data eg. the state of the drop down lists. On some other occasions, it would reset all the drop down lists and form data. Does window.location.reload resend form data to the server?

  2. #2
    Join Date
    Apr 2003
    window.location.reload() defaults to load from cache, although not all browsers will retain the form values.
    You will need to store the form values and reset them.
    At least 98% of internet users' DNA is identical to that of chimpanzees

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