Link to home
Start Free TrialLog in
Avatar of theartha
thearthaFlag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of JAruchamy
JAruchamy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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