Hi,
I'm not understanding why Request.Form("datasets" is not returning value "ABCD" when I click on page 2.
Thanks
************** testpage.asp *************
<HTML>
<BODY>
<FORM NAME="FORM1" METHOD="POST" >
<%
Dim Buffer
Buffer = Request.Form("datasets"
Response.write Buffer
Response.write "Select page to view more records"
For I = 1 to 10
Response.Write "<A HREF=""testpage.asp?PageNumber=" & I & """ LANGUAGE=""VBScript"" onClick=""vbFunction()"" >" & " " & I & "</A>"
Next
%>
<INPUT Type="hidden" name="datasets" >
</FORM>
<script language="VBScript" >
sub vbFunction()
form1.datasets.value = "ABCD"
form1.submit
end sub
</script>
</BODY>
</HTML> [sig][/sig]
I'm not understanding why Request.Form("datasets" is not returning value "ABCD" when I click on page 2.
Thanks
************** testpage.asp *************
<HTML>
<BODY>
<FORM NAME="FORM1" METHOD="POST" >
<%
Dim Buffer
Buffer = Request.Form("datasets"
Response.write Buffer
Response.write "Select page to view more records"
For I = 1 to 10
Response.Write "<A HREF=""testpage.asp?PageNumber=" & I & """ LANGUAGE=""VBScript"" onClick=""vbFunction()"" >" & " " & I & "</A>"
Next
%>
<INPUT Type="hidden" name="datasets" >
</FORM>
<script language="VBScript" >
sub vbFunction()
form1.datasets.value = "ABCD"
form1.submit
end sub
</script>
</BODY>
</HTML> [sig][/sig]