SEO Software
Closed Thread
Results 1 to 2 of 2

Thread: Refresh parent window

  1. #1

    Default Refresh parent window

    I have an HTML page (index.html) and a link in it. Clicking on that link opens a javascript Popup (pop_up.html). There is a small form on the popup window. Now when someone submits the form in that popup.html page, the index.html should refresh automatically.

    Please Help me.

    Thanx in advance


  2. SEO Software

  3. #2
    Mr. BindasS ankur0412 is on a distinguished road ankur0412's Avatar
    Join Date
    Feb 2009
    Location
    India
    Posts
    717
    Thanks
    24
    Thanked 55 Times in 42 Posts
    Blog Entries
    2

    Default

    you can use this code after the popup window is closed.
    this will refresh the parent window.

    window.close();
    if (window.opener && !window.opener.closed) {
    window.opener.location.reload();
    }

Closed Thread

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