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>
<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>






Comment