Tuesday, October 17, 2006

Testing to see if Javascript code can be posted on the web site!

Listing 2

var visitorName = window.prompt( "What is your name?", "" );
var proceed = window.confirm( "Are you ready to go further
with JavaScript " + visitorName + "?");
if ( proceed == true )
{
window.alert ("That's great " + visitorName);
}

No comments: