📜  在 ul jquery 中更改 li 位置 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:08.327000             🧑  作者: Mango

代码示例1
Using:
$(li).rollDown();
will move the last element of the set of matched element to the first position.
$(li).rollUp();
will move the 1st element of the set of matched elements to the last position.