These are steps I need to take in order to maintain a connection between a parent window and its child window:
HERE IS MY PROBLEM: 4. I then have to change the hidden field value on the reloaded form. 5. Check the value of the hidden field value. 6. Run the function that then opens a popup window from that reloaded form and therefore keeping all the values I need to pass on to the popup window.
How do I accomplish step #4? I have been trying to get around this issue in varrious ways but to no avail. Any help or direction would be greatly appreciated.
[ June 12, 2007: Message edited by: Melinda Savoy ] [ June 13, 2007: Message edited by: Bear Bibeault ]
If I understand your question correctly, I am using JSP, however, I was pre-populating the hidden field value because I wanted to check that that value was indeed populating and then run my function to load the child window (popup window) but I was checking the value when initially coming into the form and consequently my function would execute when i did not want it to until the user clicked a button on the parent form to save the changes made by the user.
This is why I do not need the value populated until AFTER the page reloaded.
I hope that is making sense. [ June 12, 2007: Message edited by: Melinda Savoy ]
Let me try to get around my issue another way, is there a way to know when a page has been reloaded so that I can then execute a window.open to popup another window and still keep the values in the parent page in tact so that the child window does not loose its connection to the parent page?
I'm open. I've been trying to use a hidden field value but that get reset each time the page is reloaded. I was trying to set the hidden field value the next time I came to the parent page but that was reset, again, each time the parent page was reloaded.
Again, what I'm basically trying to do is save the changes made to the parent page before doing a window.open function to launch a popup window that I need to be able to communicate back the parent page with.
Surely there must be a way that I'm just not knowledgeable about and would appreciate ANY alternate ideas.
Thanks for all the replies and direction given. You guys are the best.