this is my code working fine on localhost but not working on live donn't why
<script language="javascript" type="text/javascript">
function closeWindow() {
window.open('','_parent','');
window.close();
}
</script>
<a href="javascript:closeWindow();">Close Tab</a>
Tried this also
<script>
function Exit() {
var x=confirm('Are You sure want to Close Tab');
if(x) window.close();
}
</script>
<button name='closeIt' onClick="Exit()" >CLICK </Button>
please help