Hi,
Thanks for replies.
I want to open a popup window in which I show some message and there would be a close button to close this window, if user does not close this window I want to close this window after 10 seconds.I had tried an example code with window.open as show below:
windowHandle = window.open('childPage.jsp','mywindow','width=400,height=200');
setTimeout('windowHandle.close()',10000);
It is working fine it open a new window and close this window after 10 seconds, but I can not send any argument by using window.open so I tried showModalDialog() to open a new window, I'm specific for IE so showModalDialog() is working fine in this browser. In my new code I'm using:
showModalDialog('childPage.jsp',ArgumentPassed,'dialogHeight:9;dialogWidth:27;help
ff;status:no;fullscreen=no;unadorned=yes');
I want to close this window after 10 seconds.
Thanks,
Saurabh Saha