SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2003
    Location
    Anywhere
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    communication between 2 pages

    Hi all

    I an html page i have put the code
    window.open('something.html')

    In the something.html i have a form and a button.

    When i push the button i want the firts page to get reloaded.

    Can this be done by pure javascript?

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    onclick="opener.location.href='http//:www.something.com'"
    cheers

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2003
    Location
    Anywhere
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, when i firstly click on the link that opens the pop up, i can submit the form in the pop up and then it loads me the initial page as i wish. However, when i try to re -click on the link and re -open the pop up, the the initial page doesn't work.


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
  •