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
Looks like it will work, but where can i specify where it saves the names and email addresses, or can they be sent to an email?(mine)