<html>
<head>
<title>Docment Write</title>
<script language="JavaScript">
var name = prompt ("Please Enter Your Name.","Your Name Goes Here");
if (name == null name == "Your Name Goes Here"){
alert ("Click the link and try again");
}
else {
alert (name);
}
</script>
</head>
<body >
<b>Hello There
<script language="JavaScript"> document.write(name); </script>
</b>
</body>
</html>
No comments:
Post a Comment