Tuesday, June 5, 2012

closing all popup windows in apex using javascript

The following code is a cross-browser solution for closing all popup windows opened by a particular page:

--<-- html>
----<--script type="text/javascript">

<--body onunload="closeChildWindows();">
Click here to open another new window.

As long as you call the openNewWindow function to open your new windows, this will work.

U can use the function called :-
javascript:html_PopUp(’url’, ‘windowName’, 800, 600);
to open a pop up in Oracle APEX .