The ondrop event can be assigned only to droppable element. So I can not remove all droppable elements from the page load. Because of this , I have added one more div and that will include all droppables and draggables. And I removed the initialization of all droppables except the parent one. And ondrop of an event, I tried to get the target element. But it is not showing the exact div id where it is placed. It is showing the parent div id. If I specify the all div as droppables, then only I am getting the correct target id.
Peter, How can I get the target id , if I apply image as background ? Please help me... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
