Part of the scripting.com web server. San Francisco CA USA. 1/20/97.

Hello World in a Dialog

Click on the button to be greeted with a dialog that pops up inside Netscape.

Hey that was fun! A few observations...

It's wierd that the dialog box says "JavaScript Alert:Hello World!". I think this is a mistake. The script writer should have full control over the text in this dialog.

Wisely, they allow you to delimit a literal string with either single or double quotes. This makes it possible for a button to implement a script that contains a literal string, as this example does.


This page was last built with Frontier on a Macintosh on Mon, Jan 20, 1997 at 1:01:35 PM. Thanks for checking it out! Dave