开发者

jquery sortable, how can i get element's new position?

开发者 https://www.devze.com 2022-12-15 23:04 出处:网络
ho开发者_JAVA技巧w can i get the <li> new position in the list ?got it! $(ui.item).prevAll().length + 1

ho开发者_JAVA技巧w can i get the <li> new position in the list ?


got it!

$(ui.item).prevAll().length + 1
0

精彩评论

暂无评论...
验证码 换一张
取 消