Using a property
The property page
This page uses the defaultStatus property of the object. We're setting the default to "Hello, World Wide Web!" Check the status line to see the message.
the alert box
The window.alert()method
This page displays an alert box.
Click the OK button to close the box
the alert box
The window.alert()method
This page displays an alert box.
Click the OK button to close the box
This example declares a variable, assigns a value to it,and then displays the variable.
Then the variable is displayed one more time, only this time as a heading.
By pressing the button, a function will be called. The function will alert a message.