search for: answer_edit

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

2006 Jan 09
0
Adding multiple input boxes having unique ids
...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> <!-- end picked up --> <div id="add_new_question_link">...