Thanks very much, this helps a lot.

This snippet will need more work for my application because it allows  
for duplicate IDs. I'll probably get the ID from the database, and  
save the newly-dropped object there before re-initializing the sortable.

But if anyone can clarify -- how would you use Element#identify in  
this context? That would seem to be what it is built for.

Walter

On Jul 3, 2008, at 2:01 PM, Diodeus wrote:

>       $("fList").insert(new Element("li", { id: $(dragName).id+"_" }))
>       $($(dragName).id+"_").innerHTML = $(dragName).innerHTML


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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