how to get the value of input text that is residing inside o

 
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP
View previous topic :: View next topic  
Author Message
rsbollocks
-


Joined: 12 Apr 2010
Posts: 1

PostPosted: Mon Apr 12, 2010 3:37 pm    Post subject: how to get the value of input text that is residing inside o Reply with quote

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,,
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group