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! _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
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! _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails