<html>
<head>
<title>Submit form using javascript</title>
<script>
function goSubmit()
{
document.frm.submit();
}
</script>
</head>
<body>
<form name="frm">
<a href="javascript:goSubmit()">Submit form </a>
<br>
<input type="button" name="btn" value="Submit" onClick="goSubmit()">
</form>
</body>
</html>
0 comments:
Post a Comment