SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: exchange info between windows
-
Jan 12, 2007, 19:47 #1
- Join Date
- Jan 2005
- Location
- New Orleans, LA
- Posts
- 181
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
exchange info between windows
hi, all.
i got a PHP script that I would like to run in a new window.
i got 2 different approaches:
1)
i'd have a link in window A.
user clicks on it, window B opens up.
user fills up a form on window B
window B closes
info from the form is passed to window A
info is processed
window A reloads, user sees new info
2)
in alternative, i'd just need window A to refresh immediately after window B closes.
i'd need like an event listener or something like that?
is there a way to do this?
i guess I should stick to the second approach as it's much simpler?
any suggestion much appreciated.
thanks a lot!!
-
Jan 12, 2007, 20:05 #2
- Join Date
- Mar 2001
- Posts
- 3,537
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
window A reloads, user sees new info
-
Jan 12, 2007, 21:36 #3
-
Jan 12, 2007, 23:05 #4
- Join Date
- Mar 2001
- Posts
- 3,537
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
well, that isn't really the important part of my post
-
Jan 13, 2007, 03:00 #5
- Join Date
- Dec 2006
- Location
- Prague
- Posts
- 210
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
basically what I need is to make page A refresh using a script on page B, which is a new window created by clicking on a link on page A.?
Maybe you just need better php script, which write filled info after submiting. Like this here http://www.michaelpark.net/contact.php (there is source at bottom)
-
Jan 13, 2007, 07:53 #6
-
Jan 14, 2007, 02:32 #7
- Join Date
- Dec 2006
- Location
- Prague
- Posts
- 210
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I have here some old demo http://xy.wz.cz/spoluprace-oken/
it will open popup onload and when you check checkboxes in that popup, they will be checked in opener on unload, or when you close that popup.
Bookmarks