Apply Now :

Form Example in Java Script

Monday, 12 December 2011

<! HTML JAVA SCRIPT Program Form Example
<! Calibre IT & Management Institute
<! [ Krishna Suman ]


<html>
<head>
<script type="text/javascript">
function formSubmit()
{
document.getElementById("frm1").submit();
}
</script>
</head>
<body>

<p>Enter some text in the fields below, then press the "Submit form"

button to submit the form.</p>

<form id="frm1" action="form_action.asp">
First name: <input type="text" name="fname" /><br />
Last name: <input type="text" name="lname" /><br /><br />
<input type="button" onclick="formSubmit()" value="Submit form" />
</form>

</body>
</html>






Share this Article on :

No comments:

Post a Comment