Disable parent window when child window is opened
614392Oct 26 2009 — edited Oct 27 2009Hi
I need to open a new pop-up window using javascript .i dont want to use predefined adf function such as dialog, _target,usewindow (as per req) .but i can able to open pop-up window but still parent window is active (not disable ) i am clicking parent window when child is open .
what i did that:
1) i used given fn on cmd button onclick event
<script type="text/javascript">
var popupWindow=null;
function popup(){
popupWindow = window.open('http://10.14.1.1:9002/a/b/c/d/payment/Settlement.jsp','abcd12','height=600,width=600,top=0,left=0,resizable');
popupWindow.focus()
}
</script>
give me good suggestion to solve this issue