|
-
February 25th, 2009, 01:24 AM
#4
Re: JS Dynamic Form Elements + Posting to ASP
I agree. You will have to create it using document.createElement() in javascript and add it to the form. Only thing I would like to add to this is if you want to find the post back value of the dynamically created element then you will have to use the Request.Form collection. That is, say you dynamically create a text box and give it a name of 'mytxt' and also an id of 'mytxt' using javascript and added it to the form. Once you post back you will have to use request.form("mytxt") to get at the value typed in the dynamically created text box. Just some additional information if you need it.
Warm Regards.
 Originally Posted by Grofit
Hey,
Would need to do it in Javascript unfortunatly
Guess ASP doesnt do this sort of stuff...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|