I am opening a window using window.open. I want to disable the close(cross)(X) button which appears on the right hand top corner of the window.
I tried
window.open(popurl,"","width=1000,height=700,titlebar=0,top=5,left=5,screenX=100,screenY=100");
and
window.open(popurl,"","width=1000,height=700,titlebar='NO',top=5,left=5,screenX=100,screenY=100");
but none works as desired.
In the specs at w3schools.com I found
===========================================================================
titlebar = yes | no | 1 | 0
whether to display the title bar. Ignored unless the calling application is an HTML Application or a trusted dialog box. Default is yes
===========================================================================
I am calling this from a JSP of the same application.
Please help. Thanks in Advance.