The output of "Hello World" to the user is a
popular sample to show the very basics of a programming
language/environment. With JavaScript there are various ways to
accomplish this task.
1. Show a message box from the address line
To run this sample just copy the code out of the
following textbox into the address line of your browser and press enter.
2. Write a document from the address line
To run this sample just copy the code out of the
following textbox into the address line of your browser and press enter.
3. Show a message box when a button on a form is
clicked.
4. Modify the content of the document when the
status of a check box changes.