Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个在页面上滑动的滑块。当滑块完成滚动时,我想剪切:first元素并将其附加到:last. 这将如何完成。
:first
:last
$("#container :first").insertAfter("#container :last")
很容易做到:)
insertAfter