Wow - either no one really knows how to help me or this list is even deader
than I thought. 

Guess I will have to become an expert on the internals of MK to get this
figured out... 

:)

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of JasonBunting
> Sent: Friday, June 22, 2007 3:56 PM
> To: MochiKit
> Subject: [mochikit] onUpdate doesn't work for Sortable?
> 
> 
> I have the following unordered list:
> 
>    <ul id="List">
>        <li>First</li>
>        <li>Second</li>
>        <li>Third</li>
>    </ul>
> 
> I have the following code:
> 
>    connect(window, "onload", function() {
>        MochiKit.Sortable.Sortable.create("List", {onChange:function(e)
> {
>            alert(e.innerHTML);
>        }});
>    });
> 
> This works just fine - when I sort, this fires as expected. However,
> it is the following that I am having problems with:
> 
>    connect(window, "onload", function() {
>        MochiKit.Sortable.Sortable.create("List", {onUpdate:function(e)
> {
>            alert(e.innerHTML);
>        }});
> });
> 
> So, nothing happens. I am going off of the documentation and using the
> latest out of subversion. It looks as though the onUpdate signal is
> just not firing.....Am I right or do I need to do more to get this
> working?
> 
> 
> > 
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.472 / Virus Database: 269.9.6/863 - Release Date: 6/23/2007
> 11:08 AM
>

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.9.6/865 - Release Date: 6/24/2007
8:33 AM
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to