Hi all thanks in advance,
I have a pop up window using window.ShowModalDialog(). The pop up should take details of the user and when 'Accept' button is pressed on this popUp window , Im supposed to put these values taken from the user into session and close the pop up window.
In the popUp
JSP I wrote a javascript function when the user clicks the 'Accept' button, in that function i am doing doc.forms[0].submit=<action path>?parameter... etc
and then window.close(); in the same function, to close this pop Up.
when I use a normal pop up with window.open() it works, but with the window.ShowModalDialog(), it doesn't work it shows a javascript error.
Please help