search for: wrong_answers_contain

Displaying 1 result from an estimated 1 matches for "wrong_answers_contain".

2006 Jan 09
0
Adding multiple input boxes having unique ids
...can''t figure out how to set a unique id or name for multiple new input boxes. If I have a todo list and want to add another task input box via a "add task" link, I can assign a unique name and id for the first new one I had with the following: <!-- picked up and placed within wrong_answers_container when Add Another Answer is clicked --> <div id=''answer_edit'' style=''display:none;''> <%= text_field_tag "answer_#{@cnt=@cnt+1}", ''Another Answer'', :size => 70 %> </div> &lt...