Jquery sortable list won't serialize, why?

后端 未结 3 891
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 18:50

I\'m implementing a sortable list of images with jquery in a Zend Framework application. I just can\'t get the .sortable(\'serialize\') method to return more than an empty s

3条回答
  •  清歌不尽
    2020-12-08 19:34

    (link update) hi, I stumbled across a similiar problem a few days ago, though in my case it was important to keep the order of the elements intact. I coded a small plugin which will allow you to serialize ul and ol lists of arbitrary depth and complexity:

    serializeTree

提交回复
热议问题