Mablung
Junior Member
Posts: 19
33 / / –
Joined: Dec 2004
|
RE: Javascript
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
|
|