Displaying 1 result from an estimated 1 matches for "position_ajax".
2006 Jun 07
2
How to send post data with link_to_remote?
...l.
Prototype supports the ''postBody'' option, but I can''t seem to get
link_to_remote to set that.
Here''s what I''m trying:
link_to_remote ''move up'',
:url => { :controller => ''upload'', :action => ''position_ajax'', :id =>
upload.id },
:method => ''post'',
:postBody => ''amount=-1''
But no dice.
I looked at the source for <a
href="http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_view/helpers/prototype_helper.rb">prototy...