Hello!
I have a parent window and i open a pop-up window. I want to execute an action and to close the pop-up in same time.
I put the onklick = window.close event handler on submit button.
Now it works (very) strange:
sometimes it does execute the
struts action and close the window
BUT sometimes it only closes the window (without executing the action)
How can I fix this?
Regards