This content has been marked as final. Show 6 replies
You can do it like this,
It works fine but every textbox will have the same name right? How can I generate textbox with different name so I can call them individually on the next page? Thanks
First of all categorize your textboxes (like you have 3 text boxes in each column), so lets have that as,
text1C1 | text2C1 | text3C1
text1C2 | text2C2 | text3C2
text1C3 | text2C3 | text3C3
for that modify the "var textbox" variable as,
(Here I am just appending the "row" value to do the dynamic textbox name generation.)
earlier answer to a similar request:
also includes sample on how to work with the dynamic fields on server-side.
I did something similar today. I used <cfsavecontent>, toScript() in Cold Fusion, and innerHTML in js.