hello all. I am trying to use the drop_receiving_element to update a
database. I can’t figure out how to send the draggable DOM ID and
droppable DOM ID to the controller. Any ideas?
Here is my code so far:
<%= drop_receiving_element “alb”,
:accept => "item", :hoverclass => "item-active",
:url => {:controller=> 'tapebackup',
:action => 'test'}
%>
In my controller, I need to get the element id of the item that was
dragged with draggable_element
Any help is greatly appreciated.
Thanks!