If I have a table as shown below, and have a up and down arrow that moves rows up and down, how would I go about swapping rows in JQuery?
10条回答 萌比男神i (楼主) 2020-12-08 20:26 To move Row1 one step down, you'd do: $me = $("#Row1"); $me.after($me.nextSibling()); 0 讨论(0) 查看其它10个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
To move Row1 one step down, you'd do:
$me = $("#Row1"); $me.after($me.nextSibling());