Displaying 1 result from an estimated 1 matches for "echantillon_form".
2010 Apr 12
3
$(link).previous("input[type=hidden]") is undefined
...s("input[type=hidden]") is undefined
remove_fields()applic...1065175 (line 6)
function onclick(event) { remove_fields(this); return false; }()1
(line 2)
[Break on this error] $(link).previous("input[type=hidden]").value =
"1";
in the view file I have :
<% echantillon_form.fields_for :treatments do |builder| %>
<%= render "treatment", :f => builder %>
<% end %>
in the partial I have :
<p class = "treatmentfields">
<tr>
<td class ="name"> type d''exame...