just directly close the window
<html>
<head>
<script>
function func()
{
window.close();
}
</script>
</head>
<body>
<input type="button" value="Click Here" onclick="func()">
</body>
</html>
clicking on the button displays a confirmation dialog 4 closing the window, how to get rid of this dialog, i mean how to just directly close the window without confirming???
|