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

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

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



        
相关标签:
7条回答
  • 2021-02-01 18:16

    To use another attribute you can do this:

    $('#element').sortable('toArray' {attribute: 'value'})
    

    This will make it so it now uses the attribute 'value' from your code.

    Documentation on Sortable toArray method

    0 讨论(0)
提交回复
热议问题