Hi

I'm doing some drag and drop in Rails using the Scriptaculous Helpers
to set up the Droppables and Draggables.

Once the Drag and Drop has happened, I need to add a new Droppable,
and a new Draggable which I do within the RJS using the helpers again
- page.drop_receiving() and page.draggable().  It works fine.

But I also need to remove the used Draggable and Droppable - Firefox
copes with them still existing but IE does not.

Scriptaculous has Droppables.remove or possibly Droppables.reset() -
but I'm having trouble calling them.

I have tried this in the RJS (among other things)
page.call << "Droppables.remove(@drop_id);"

How should I call this?

Thanks

Mike


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to