The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

jQuery Save/Load Sortable List

  • # October 8, 2012 at 6:54 pm

    I have a list of divs (with forms inside the divs) where they can be dragged and dropped where you want them. Of course, saving that order would make sense.

    I’ve been using the following [tutorial]( “tutorial”) as an example where I understand how to grab the id of each list item and store it in an array by column.

    However, in their example, it’s a simple list item. I have divs with forms in each list item. Is the correct method to store the html of the list item as well?

    I was thinking of using AJAX but that wouldn’t be an option since this will be used locally.

    # December 20, 2012 at 8:02 pm

    Anyone have suggestions on this? Still haven’t figured out how to proceed?

    I understand how to save the order in an array, but not sure how to load the saved order and still keep the content within the items in tact?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed