View Full Version : dynamic form...
dakkar
04-22-2005, 03:52 PM
I have a form with some fields that can be repeated for N times, how can I make the form "grow" using javascript???
thank you in advance!
Harry Armadillo
04-22-2005, 08:52 PM
Yep. Just a matter of using createElement to make your new elements, and appendChild or insertBefore or replaceChild to put them where you want.
And particular event or condition that indicates the need for more elements? What kind of element do you need and where do they need to be?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.