| When you enter this page, a message will pop up.
|
|
|
| You can use the complete <BODY> tag in the example or you can use only the onLoad="alert() portion in your own <BODY> tag. This simple JavaScript uses the onLoad event handler to cause an alert box to pop up when the visitor enters the page. Did you notice that this is a multi-line message? This was done with the use of the \n character in the message. |