I want to know how to get the id of the dropped-in-element. I already
have this code:
<%= drop_receiving_element("drop", :onDrop => "function() { set_image
(), delete_drag(element.id) }") %>
but its not working. Firebug tells me that element is not defined -
why that? Any ideas how to fix it?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---