posted 18 years ago
I have done this.
Option 1: Submit the page in the popup. The return page will have either an error message and a close button, or if it successfully submetted, a javascript that will reload the parent and close itself:
Option 2: Have the javascript call a function on the opener.
You might need to hide a form in the opener page. You can also pass attributes with the function call. Then the function sets the values in the opener page and then submits the hidden form.
Option one is what I ended up using. It is cleaner. But it is all up to you on your process flow.
The squeaky wheel gets the grease. Well, that or replaced...