Displaying 1 result from an estimated 1 matches for "_clicked".
Did you mean:
clicked
2006 Jul 10
2
inline javascript in partials
...t 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 = ''<%=button%>'';
<%= remote_function(re...