Sandbox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 21: | Line 21: | ||
location.href ="http://bose.infopop.cc"; | location.href ="http://bose.infopop.cc"; | ||
} | } | ||
</script> | |||
<script type="text/javascript" for="body" event="onunload"> | <script type="text/javascript" for="body" event="onunload"> | ||
alert("The onunload event fired for the window object."); | alert("The onunload event fired for the window object."); | ||
toTheMessageBoard(); | toTheMessageBoard(); | ||
</script> | </script> | ||
<body onunload="toTheMessageBoard();"> | <body onunload="toTheMessageBoard();"> | ||