Link to home
Start Free TrialLog in
Avatar of wal_toor
wal_toorFlag for Netherlands

asked on

Jquery sortable list, return only affected (swapped) items

Hello all,

I am using the Jquery sortable demo from:

http://wil-linssen.com/entry/extending-the-jquery-sortable-with-ajax-mysql/

What if I have a list of 40 items, in the example the ordering with a query that will be looped 40 times. This seems a little silly to me, only two items are affected.

Is there a way to return only the two affected elements?

greetz,
walter
ASKER CERTIFIED SOLUTION
Avatar of Adam
Adam
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wal_toor

ASKER

Thanks cyber spy,

I have'nt thought of what you said. makes sense. Thanks for your reply. I'll dive into this.

greetz,
walter