Jump to content

sortable.Create and onUpdate


Nosh

Recommended Posts

hi !

 

This is my first post here =)

 

I work with prototype and scripaculos. I have some lists with elements, or not (ul, li), and users can drag and drop each elements in any list, whatever. So i have in my js file a sortable.Create with an onUpdate function. OnUpdate is called when drag ends and the Sortable’s order is changed in any way. But it's called 2 times, one for each list of draged elements. And the order of execution is, i guess, random or from the smaller to the bigest...

So my question is, how can i know the order of execution of onUpdate ?

 

Thanks =)

Link to comment
https://forums.phpfreaks.com/topic/85158-sortablecreate-and-onupdate/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.