search for: toggle_contact_method

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

2006 Mar 16
9
Baffling AJAX issue
..."contact_active"> <%= link_to_remote "<div id=''contact_active_#{cm.id}''><span class=''#{cm.active}''>#{cm.active}</span></div>", { :update => "contact_active_#{cm.id}", :url => {:action => "toggle_contact_method", :id => cm.id} } %> </td> There''s quite a mess of embedded tags and quotes there, but I think it''s all correct and it does generate the correct html initially. The span element inside the div is what''s getting replaced. The remote call renders a str...