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.
如何将 rs-carousel div 重命名为 my_carousel(例如..)?
http://richardscarrott.github.io/jquery-ui-carousel/
非常感谢。
简单地拥有一个包含该 id 或类的 div。
您可以将其替换为以下内容:
$("#rs-carousel").attr("id","my_carousel");
但是,这可能会破坏轮播,因此您将不得不处理它。