Results 1 to 13 of 13
May 31, 2003, 06:00 #1
- Join Date
- Feb 2003
- 0 Post(s)
- 0 Thread(s)
pass values between popup and main window
I'm making a php application where details on some data can being "choosed" from a popup window.
On clicking a link, the popup opens with a result set. The user can click on the needed row and a variable is being passed on to the main window. The form in the main window is being submitted so details are being filled in with help of the passed variable.
this opens my popup:
[Popup window (not.php)]
this transfers the value:
It works perfect without the "i"s in the last function (as with just one row in the result set on the popup window).
I added the "i" because a result list has more rows than one. So every row has its own mini-form with a button, a hidden notid-value and name "i"...
On clicking a button in the result list, the value is being transfered correctly to the main window, it is being refreshed with the submit and the popup is being closed.
But when I click on any link or button in the main window, nothing happens anymore.
I've deleted the window.close-line of the function, but still no links/buttons are working after submitting the main form by the function...
Can anyone helps me with what's happening here?
Is there a better way in doing these things?
Thank you very much for any suggestions!
Last edited by ann_dupont; May 31, 2003 at 06:47.