I am trying to do a drag and drop cards into a shelf. I am doing this
for the drop:
<%= drop_receiving_element :slot2,{:onDrop => "function(element) {
$(''slot2'').replace(''<td
id=\"slot2\">'' + element.id + ''</
td>'').addClassName(''cardfill''); }"} %>
This does not seem to be working. When I press submit, the id is not
being sent. Does anyone know how to get something like this to work?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---