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.
好吧,我的兴趣是,如果我只是用jQuery('.selector').remove()?
jQuery('.selector').remove()
jQuery 文档:“请注意,从 1.2.2 开始的此函数还将删除所有事件处理程序和内部缓存的数据。”