javascript/html work
•
22 Feb 2008, 18:30
•
Journals
can some1 tell me how to : "create an input area to accept user input of five numbers and a button which, when clicked, takes the user to another page if the numbers have been entered"
please and thanks :)
EDIT : wooohoooo i got it :)
please and thanks :)
EDIT : wooohoooo i got it :)
<head>
<title> xxx</title>
<body>
<form method="post" action="www.html" >
<input type="text" name="aaa">
<input type="submit" value="send">
</form>
</body>
</html>
it's ok ?:D
then you have to creat that " www.html "
<body>
<?
$imie=$_POST["aaa"];
if ($imie!="")
{ echo "welcome";}
else
{ echo "wrong ";
?>
<a href="that page where you write">go back</a>
<? } ?>
</body>
<html>
Do you want it completely in javascript/html only or do you have a server-side script that could do the numbercheck?