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