Hi i have a html form which has some input fields and submit button, what i want is when i submit this page, i want to display another page which will display the entered value. How will i do it using html or java script. Thanks
Input page
<html>
<HEAD>
<script language=”JavaScript” type=”text/javascript”>
function submitForm() {
}
</script>
</head>
<body >
<form>
First name:
<input type=”text” name=”firstname”>
<br>
Last name:
<input type=”text” name=”lastname”>
<INPUT TYPE=BUTTON width=100 VALUE=”Submit” STYLE=”font-size:8pt; background-color:#003399; color:#ffffff; font-weight: bold;” WIDTH=100 onClick=”submitForm()”>
</form>
</body>
</html>
//Display Page
<html>
<HEAD>
<script language=”JavaScript” type=”text/javascript”>
function submitForm() {
}
</script>
</head>
<body >
<form>
First name:
<br>
Last name:
</form>
</body>
</html>