jQuery UI: sortable('toArray') returns an empty array

后端 未结 7 654
青春惊慌失措
青春惊慌失措 2021-02-01 17:28

This has me stumped. The follow code returns \",,,,,,\":



        
7条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 17:53

    .sortable('toArray') serializes items Ids into array, and your items have no Ids, that's why you have empty strings.

提交回复
热议问题