About
Pricing
Community
Teams
Start Free Trial
Log in
theartha
asked on
3/16/2012
Retrive input value from dynamically constructed input tag
Hi There,
I wrote a function in JavaScript to create a input tag. But I am unable to retrieve the value in asp.net.
<input type="text" size="10" maxlength="10" id="Day1Start">
Please advice.
ASP.NET
C#
JavaScript
2
1
Last Comment
markmiddlemist
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
JAruchamy
3/16/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
markmiddlemist
3/16/2012
As long as you know what name it will have been created as you should find it in Request.Forms, or if you know the form of the name (e.g.DayXStart) you could loop through the Request.Forms collection (or use a LINQ query) looking for matching names
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes