gud day to all guys,
here is my first post,
how can i get the value of the input text inside a div when the form is submitted.
- i can get the value of hdncivil input field using this syntax
civilstat= Request.Form("h dncivil")
- but when using the same method/syntax to get the minAge and maxAge
----------- the value of minage and maxage contains nothing
thanks in advance,,
here is my first post,
how can i get the value of the input text inside a div when the form is submitted.
- i can get the value of hdncivil input field using this syntax
civilstat= Request.Form("h dncivil")
- but when using the same method/syntax to get the minAge and maxAge
Code:
minage= Request.Form("minAge")
maxage= Request.Form("maxAge")
Code:
<% hdncivil = "single" d_min = "18" d_max = "65" %> <form id="FrmMain" name="FrmMain" method="POST" action="MCHRESav.asp" > <input type="hidden" id="hdncivil" name = "<%=hdncivil%>" /> <div id="constraints"> <input type="hidden" id="minAge" value="<%=d_min %>" /> <input type="hidden" id="maxAge" value="<%=d_max %>"/> <div> <input type="submit" id="BtnSave" name="BtnSave" value="save" /> </form>
Comment