JavaScript

J

john

I need Help!!! Please I need to write a javascript that will do the
following

Show a user name
User address
User Phone Number
City
State
zip code
telephone number
and date of Birth

I already have that part of the code done then what I have to do is add
validation so if any of these are left blank they get a message
indicating which box is left blank and point it out then I have to add
cookies so if the user information is the same it will ask take them to
antoher page telling them that their information is already there..
Here is my code so far can some one please help me with the rest.. I
really have no idea how to do this part and it is due this thirsday.

Thank you..


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script>
</script>
<title>Web 420</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
</head>
<body>
<table border="0" height="338" width="75%">
<tbody>
<tr>
<td width="56%">
<h4>Personal Information</h4>
<form name="input" action="thankyou.htm" method="get">
<pre> First Name: <input name="firstname" size="20"
type="text"><br><br><br> Last Name: <input name="lastname"
size="20"
type="text"><br><br><br> Address: <input name="address" size="20"
type="text"><br><br><br> City: <input name="city" size="20"
type="text"><br><br><br> State:
<select><option>Alabama</option><option>Alaska</option><option>Arizona</option><option>California</option><option>Colorado</option><option>Connecticut</option><option>Delaware</option><option>Florida</option><option>Georgia</option><option>Hawaii</option><option>Idaho</option><option>Illinois</option><option>Indiana</option><option>Iowa</option><option>Kansas</option><option>Kentucky</option><option>Lousisana</option><option>Maine</option><option>Maryland</option><option>Massachusetts</option><option>Michigan</option><option>Minnesota</option><option>Mississippi</option><option>Missouri</option><option>Montana</option><option>Nebraska</option><option>Nevada</option><option>New
Hampshire</option><option>New Jersey</option><option>New
Mexico</option><option>New York</option><option>North
Carolina</option><option>North
Dakota</option><option>Ohio</option><option>Oklahoma</option><option>Oregon</option><option>Pennsilvania</option><option>Rhode
Island</option><option>South Carolina</option><option>South
Dakota</option><option>Tennessee</option><option>Texas</option><option>Utah</option><option>Vermont</option><option>Virginia</option><option>Washington</option><option>West
Virginia</option><option>Wisconsin</option><option>Wyoming</option></select>
<br><br> Zip Code: <input name="zip" size="6"
type="text"><br><br><br> Telephone Number: <input
name="phone" size="11" type="text"><br><br><br> Date of Birth:
<input
name="phone" size="10" type="text"><br> <br><input value="Submit"
type="submit"><br><input name="Reset2" value="Reset"
type="reset"></pre>
&nbsp;</form>
</td>
</tr>
</tbody>
</table>
</body>
</html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top