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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Makes the element with the DOM ID specified by <tt>element_id</tt> receive dropped draggable elements (created by draggable_element). and make an AJAX call By default, the action called gets the DOM ID of the element as parameter.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  &lt;%= drop_receiving_element(&quot;my_cart&quot;, :url =&gt;\n    { :controller =&gt; &quot;cart&quot;, :action =&gt; &quot;add&quot; }) %&gt;\n"
- !ruby/struct:SM::Flow::P 
  body: You can change the behaviour with various options, see http://script.aculo.us for more documentation.
full_name: ActionView::Helpers::ScriptaculousHelper#drop_receiving_element
is_singleton: false
name: drop_receiving_element
params: (element_id, options = {})
visibility: public
