Displaying 1 result from an estimated 1 matches for "do_before".
2006 Jul 10
2
inline javascript in partials
...ock isn''t getting
rendered at all. Does rails strip this out or is it some limitation of
the browser?
<% remote_options = {
:update => update,
:with => "Form.serialize(''#{form}'')",
:url => { :action => "process_multiple" }
} %>
<% do_before ||= nil %>
<% click_fn = "on_#{form}_#{button}_clicked()" %>
<script language="javascript">
function <%=click_fn%> {
<%= do_before %>
Form.getInputs(''<%=form%>'', null, ''<%=mode%>'')[0].value = &...