Displaying 1 result from an estimated 1 matches for "add_new_question_link".
2006 Jan 09
0
Adding multiple input boxes having unique ids
...<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">
<%= link_to_function ''Add Another Answer'', "new Insertion.Bottom
(''wrong_answers_container'', $(''answer_edit'').innerHTML)" %>
</div>
If I try to add more than 1, then they all end...