you can put all of your images at the start of the selection like
this:
                images = $('#sortable > .ui-state-default');

and each images[] will behave like an element.

On 26 מרץ, 18:45, Mojojo <[email protected]> wrote:
> Hello.
>
> I use sortables and it works fine. But I need the system to remember
> the order of my images. The catch is that it is the image names I need
> to save + their order:
>
> <ul id="sortable">
>         <li class="ui-state-default"><img src="images/pic1.jpg"
> class="sortableitem" /></li>
>         <li class="ui-state-default"><img src="images/pic2.jpg"
> class="sortableitem" /></li>
>         <li class="ui-state-default"><img src="images/pic3.jpg"
> class="sortableitem" /></li>
> </ul>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to