Description:
This JavaScript alerts visitors when they enter and leave this page. Standard this is written in BODY tag, but here you can see other type.
JavaScript Functions: <script type="text/javascript" for="window" event="onload"> alert('Welcome to Javascript Search, we hope you find what you are looking for!'); </script> <script type="text/javascript" for="window" event="onunload"> alert('Good Bye?'); </script>
Browsers Compatibility:
IE