The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Save/Load Sortable List

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #40206

    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.


    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.