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

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

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



        
7条回答
  •  旧时难觅i
    2021-02-01 17:49

    You can define which attribute to fetch like this:

    var result = $(this).sortable('toArray', {attribute: 'value'});
    

提交回复
热议问题