09-12-2006, 02:20 PM
|
#76
|
|
Banned
Join Date: Aug 2006
Location: Flash Drive
Age: 35
Posts: 510
|
Re: What's on your CTRL+V?
<head>
<title>JavaScript User Name</title>
<script type="text/javascript">
//initialize a variable with a null value
var name = null;
// Ask user for their name
name = prompt("Please enter your first name", " ");
//Greet the use
alert("Welcome " + name);
</script>
</head>
|
|
|