Script Categories

Messages >>> Name Alert.

JavaScript can personally great all the visitors to your web page! When they enter, they are asked their name, and then they are greeted!

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function testIt() {
Response = "";
while ((Response == "") || (Response == "")){
Response=prompt ("Who are you?", "");
if (Response != null)
alert ("Hello, " + Response + "!");
// End -->
TYPE="button" NAME="button1" VALUE="Hello!  Click Here!" onClick="testIt()">

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).