Forum: Ruby on Rails dynamic html elements in erb file

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4d57137266433e417a186f86ffe7ff4c?d=identicon&s=25 badari (Guest)
on 2009-03-09 10:22
(Received via mailing list)
Hi,
I have a huge table in database and need to fill the values using web
forms.
Some fields are repeatable so my form can have a link to provide same
form many times.
I can acheive this by using java script but how to get id of elements
added dynamically.
For example if I add one <div> containing 1 text box 1 combobox, how
to get ids so that I can use them in my erb file.
This topic is locked and can not be replied to.