function closePage() { self.close(); }
function CloseWindow() { window.top.opener = null; window.close(); }
function closing() { var answer = confirm("Do you wnat to close this window ?"); if (answer){ netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite'); window.close(); } else{ stop; } }
<input id="btnCls" type="submit" class="btn" title="Click here to close the window." value="Close Window" onclick="window.close()" onmouseover="this.className='btnOnMseOvr'" onmouseout="this.className='btn'" onmousedown="this.className='btnOnMseDwn'">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)