M
Matt
When the user click the submit button in myform.asp, then it will invoke the
javascript to check the form data. I want to know if we need
document.myform.submit(); ?? Because even I comment it out, formresponse.asp
could still get the form data.
//myform.asp
<html>
<head><title></title>
<script language="javascript">
function checkformdata()
{
//etc...
document.myform.submit();
}
</script>
</head>
<body>
<form action="formrespsonse.asp" name="myform" method="post"
onsubmit="checkformdata()">
//etc...
<P><input type="submit"><input type="reset">
</form>
</body>
</html>
//formresponse.asp
<%= Request.Form %>
javascript to check the form data. I want to know if we need
document.myform.submit(); ?? Because even I comment it out, formresponse.asp
could still get the form data.
//myform.asp
<html>
<head><title></title>
<script language="javascript">
function checkformdata()
{
//etc...
document.myform.submit();
}
</script>
</head>
<body>
<form action="formrespsonse.asp" name="myform" method="post"
onsubmit="checkformdata()">
//etc...
<P><input type="submit"><input type="reset">
</form>
</body>
</html>
//formresponse.asp
<%= Request.Form %>