Help me with this problem.

Discussion in 'JavaScript' started by pvphuc, Dec 24, 2006.

  1. #1
    Hi all developers,

    Now I am getting a problem with my Web Project, I hope you will help me to solve it.

    I have 2 Web Pages : 1 master, 1 detail.

    When users click Save button on my detail page, data will be posted in my database and this page is closed. After that I want my main page is refreshed automatically to update data from database.

    I just want my main page refresh data depend on the actions on my detail page (when data has been changed) not refresh depend on time.

    Please tell me how I can do that.

    Thanks so much!

    pvphuc
     
    pvphuc, Dec 24, 2006 IP
  2. nocookies

    nocookies Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What's the relation between the "master" and "detail" pages. Are they frames in the same frameset? Is the detail page in a pop up window opened from the master?

    In both cases you can use cross-window scripting:
    http://www.quirksmode.org/js/croswin.html
     
    nocookies, Dec 25, 2006 IP
  3. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes details please...
     
    weknowtheworld, Dec 25, 2006 IP