Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script language="javascript" type="text/javascript">
- function init()
- {
- alert("Blah !");
- }
- //window.onload=init; // solution 1
- </script>
- </head>
- <body onload="//init()"> <!-- solution 2 -->
- <p>Oh yes!</p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement