we use $('list') then do something then we can't use
document.getelementbyid('list') do something like remove,we must keep
the same way  because we can see these are two variable share
something  in javascript

On 5月25日, 下午7时29分, dasboe <[EMAIL PROTECTED]> wrote:
> even better! :) thanks thomas...
>
> just to resume my final working code now looks like this:
>
> Sortable.create(
>   'list',
>   {
>     onUpdate: function() {
>       Sortable.destroy('list');
>       $('list').remove();
>       $('dest').update('no more list - just text!');
>     }
>   }
> )


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