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>

No comments:

Post a Comment