search for: active_flag_

Displaying 2 results from an estimated 2 matches for "active_flag_".

Did you mean: active_flag
2006 Mar 16
9
Baffling AJAX issue
Ok, I''ve got some link_to_remote stuff working elsewhere just fine, but this time it''s doing something very screwy. Here''s the view code to create a link to remotely toggle a boolean value on a record: <td class="contact_active"> <%= link_to_remote "<div id=''contact_active_#{cm.id}''><span
2006 Mar 14
2
rjs woes
...unction who''s only purpose is to eval(resp.responseText). but this is not happening. i added an alert( resp.responseText) and the javascript code is there, it''s just not being evaluated. checkbox: <div id="cb_div"> <input type="checkbox" name="active_flag_<%= user.id -%>" value="<%= user.id-%>" <%= user.active? ? "checked" : "" -%> onclick="activate_user(this)"/> </div> javascript: function activate_user(cb) { var status = (cb.checked) ? "1" : "0" var da...