quote:
Originally posted by Mablung
code:
<html>
<head>
<script type="text/javascript">
var name=prompt("Please enter your name","")
var email=prompt("Please enter your email","")
if (name!=null && name!="" && email!=null && email!="")
{
document.write("Name: " + name + "<br>Email: " + email)
}
</script>
</head>
<body>
</body>
</html>
http://w3schools.com/js/tryit.asp?filename=tryjs_prompt
so what will this actually do?