Is there an equivalent to "link_to_function" (instead of ": action") when using "draggable_element"? Basically I need to drag and drop some elements and reflect it locally, without accessing the server.
My current setup is that I have two DIVs with different list items. I have one full points with dominas of "points [selected] [name]" and another div with domids of "points [available] [name]". I need to drag between them without accessing the server. I only want to worry about the server.
I looked at all the RailsCasts on similar elements, but it doesnβt seem to mean that a non-standard action (that is, a helper function) is triggered from the "draggable_element" method.
Thanks in advance!
source share