How can I detect when a new element has been added to the document in jquery?

前端 未结 10 1379
猫巷女王i
猫巷女王i 2020-12-01 21:29

How can I detect when a new element has been added to the document in jquery ?

Explanation: I want to know when an element with class \"column-header\" has been adde

10条回答
  •  情话喂你
    2020-12-01 22:05

    You should check out the jQuery Mutation Events. I believe that it is what you are looking for.

提交回复
热议问题