Displaying 1 result from an estimated 1 matches for "foowhatev".
Did you mean:
foowhatever
2007 Dec 05
0
difficulty with onDrop in the ruby helper method
...#39;m using the helper method
drop_receiving_element, and it''s all good and well until the onDrop
part. I really want to pass both id''s to the ruby method that I''m
calling. Really. However, it seems like onDrop only accepts a
javascript function. :url => {:action =>foowhatever} only passes the
draggable id. :with replaces the draggable id with whatever I want to
give it.
So, is there another way in which I can capture both the draggable id
and the droppable id and pass them neatly back to my controller?
If not, is there a way to call the method in the controller from...