onunload

+1 Parul Bhagat · December 8, 2015
onunload event handler is not working in my webpage . what should I do?

<!doctype html>
<html>
<head>
</head>
<body onUnload="alert('bye');">
huifgighroghijdijgijig
</body>
</html>

Post a Reply

Replies

Oldest  Newest  Rating
0 Parul Bhagat · December 9, 2015
so how to correct that problem ?
0 Ray LeDuc · December 8, 2015
http://www.w3schools.com/jsref/event_onunload.asp 

see:

Note: Due to different browser settings, this event may not always work as expected.
  • 1

Javascript

107,196 followers
About

A scripting language that is added to standard HTML to create interactive effects, apps, games for the browser.

Links
Moderators