Hello all. For some reason, I can't see the value of request("btnName" in my asp script when I click the button and the page submits to itself. I'm sure I'm doing something really stupid. Any ideas?
Here's my html:
<%
Response.Write "btnName= " & Request("btnName"
%>
<html>
<script language="JavaScript1.2">
function fExport(f)
{
....form validation stuff....
f.submit()
}
</script>
<head>
<form ACTION="SubmitToMyself.asp" name="frmSubmitToMyself">
<input type="button" value="Export" name="btnName" id="btnExport" onClick="fExport(this.form)">
.
.
.
</head>
</html>
Thanks for your help in advance,
Steve S.
sms@hmbnet.com
Here's my html:
<%
Response.Write "btnName= " & Request("btnName"
%>
<html>
<script language="JavaScript1.2">
function fExport(f)
{
....form validation stuff....
f.submit()
}
</script>
<head>
<form ACTION="SubmitToMyself.asp" name="frmSubmitToMyself">
<input type="button" value="Export" name="btnName" id="btnExport" onClick="fExport(this.form)">
.
.
.
</head>
</html>
Thanks for your help in advance,
Steve S.
sms@hmbnet.com