[jQuery] Re: sortable issue

2008-12-08 Thread Bhavin
Thanks Richard. I think, I was confused about approach. I sortout this issue by taking all the elements on update of the sequence and then compare it with existing data in session and firing updates to only elements which are changed. On Dec 6, 1:12 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrot

[jQuery] Re: sortable issue

2008-12-06 Thread Richard D. Worth
I posed the example as I did because when you move element 5 from position 5 to position 2 you are only moving one element, but it's affecting the position of 4 elements (2, 3, 4, 5). So when you say you only want to know about two elements, I'm confused about which two you would be talking about i

[jQuery] Re: sortable issue

2008-12-06 Thread Bhavin
Hi Richard, Thanks for replying. I am trying to save /update sequence of elements whenever it is changed. In following example, if you move 3rd element at 2nd position then I wanted those two elements only in JS instead of complete list. But it looks when we change sequence and try to save the or

[jQuery] Re: sortable issue

2008-12-06 Thread Richard D. Worth
I'm not sure your sample provides quite enough detail of what you're going for. If you have the following and you drag 5 to be in-between 1 and 2, like so, then what do you want? - Richard On F