Drop_receiving_element help needed

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.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs