How to destroy a DOM element with jQuery?

前端 未结 4 1960
攒了一身酷
攒了一身酷 2020-12-01 08:51

Suppose the jQuery object is $target.

4条回答
  •  难免孤独
    2020-12-01 09:35

    You are looking for the .remove() function.

    http://docs.jquery.com/Manipulation/remove

提交回复
热议问题