rsbollocks -
Joined: 12 Apr 2010 Posts: 1
|
Posted: Mon Apr 12, 2010 3:37 pm Post subject: how to get the value of input text that is residing inside o |
|
|
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("hdncivil")
- but when using the same method/syntax to get the minAge and maxAge
minage= Request.Form("minAge")
maxage= Request.Form("maxAge")
----------- the value of minage and maxage contains nothing
<%
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>
thanks in advance,, |
|