InthuWebWorld
Monday, 3 October 2011
how to handle window close event in javascript in chrome also
Question:-
How to handle window close event in java Script in chrome also
Answer:-
<script>window.onbeforeunload = function() { alert("here U r functionality");}
</script>
how to handle window close event in javascript
Question:-
How to handle window close event in java Script
Answer:-
<html>
<body onbeforeunload="alert('Closing');">
</body>
</html>
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)