Displaying 1 result from an estimated 1 matches for "contact_active_12".
2006 Mar 16
9
Baffling AJAX issue
...od
cm = ContactMethod.find(params[:id])
cm.toggle(''active'')
render_text "<span class=''#{cm.active}''>#{cm.active}</span>"
end
However, for some reason in the replacement an extra anchor tag is being
generated.
Original:
<div id="contact_active_12"><span class="true">true</span></div>
After AJAX replacement:
<div id="contact_active_12"><span
class="false"><a>false</a></span></div>
I have no idea where the hell it gets that extra anchor tag, so any...