--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns the JavaScript needed for a remote function. Takes the same arguments as link_to_remote.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  # Generates: &lt;select id=&quot;options&quot; onchange=&quot;new Ajax.Updater('options',\n  # '/testing/update_options', {asynchronous:true, evalScripts:true})&quot;&gt;\n  &lt;select id=&quot;options&quot; onchange=&quot;&lt;%= remote_function(:update =&gt; &quot;options&quot;,\n      :url =&gt; { :action =&gt; :update_options }) %&gt;&quot;&gt;\n    &lt;option value=&quot;0&quot;&gt;Hello&lt;/option&gt;\n    &lt;option value=&quot;1&quot;&gt;World&lt;/option&gt;\n  &lt;/select&gt;\n"
full_name: ActionView::Helpers::PrototypeHelper#remote_function
is_singleton: false
name: remote_function
params: (options)
visibility: public
