Hi, I was wondering are there any function in javascript that only work with IE??
I have the following that closes a window once a button is pressed:
But it only works with IE which makes really surprised because I thought a function like window.close() works on anything.
Can anybody shed some light on this?
I have the following that closes a window once a button is pressed:
Code:
<html
<head>
<script ="text/javascript">
<!--
function closeit()
{
window.close();
}
-->
</script>
</head>
<body>
<input type = "button" onClick= "closeit()"/>
</body>
</html>
But it only works with IE which makes really surprised because I thought a function like window.close() works on anything.
Can anybody shed some light on this?