I have a button on a form that when clicked I want to close the browser, the browser will always be IE. Here is the code I've got,
Code:
<form action="javascript:null">
<input type="button" value="Close this window" onclick="window.close();">
</form>
The problem is once the user clicks the button, IE asks for confirmation they want to close the browser, is there a way to bypass the confirmation? Any ideas?