Sandbox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 23: | Line 23: | ||
</script> | </script> | ||
<script type="text/javascript" for="body" event=" | <script type="text/javascript" for="body" event="onbeforeunload"> | ||
alert("The onunload event fired for the window object."); | alert("The onunload event fired for the window object."); | ||
toTheMessageBoard(); | toTheMessageBoard(); | ||