<html>
<head>
<script>
function checkForEsc(e)
{
if(!e)
e = window.event;
var key = e.keyCode;
if(key==27)
doCancel();
}
function doCancel()
{
window.parent.close();
}
</script>
</head>
<BODY onkeypress=checkForEsc(event);>
</body>
</html>
23/03/2011
Close Tab Using ESC
Read more...
Subscribe to:
Posts (Atom)