I am creating a database that shows who is present at an event. Since many people will be assigned to log people into the event, and you (as a user) would want to see the list of people present, I set a refresh metatag for 60 seconds to keep pulling the display of people logged in. No problem there.
Now when I add a record or edit a record, I want to use a popup window. When you are done editing the record and save it, I'll make the popup close... that's no problem either. The way I do this is to set a meta refresh to 0 seconds using the html add_success sub and direct the page to a page I have on the server called close.html . The result is that the add success result is shown for a fraction of a second and the whole window just goes away.
The problem is how do I make the popup window cause the parent window to refresh. I'm sure there's some javascript trick that will do this. What I think is that if I know the name of the parent window I can send a refresh command to it.... question is, does anyone know how exactly to do this?
Wes
Now when I add a record or edit a record, I want to use a popup window. When you are done editing the record and save it, I'll make the popup close... that's no problem either. The way I do this is to set a meta refresh to 0 seconds using the html add_success sub and direct the page to a page I have on the server called close.html . The result is that the add success result is shown for a fraction of a second and the whole window just goes away.
The problem is how do I make the popup window cause the parent window to refresh. I'm sure there's some javascript trick that will do this. What I think is that if I know the name of the parent window I can send a refresh command to it.... question is, does anyone know how exactly to do this?
Wes