DOM Mutation event in JQuery or vanilla Javascript

前端 未结 6 1051
独厮守ぢ
独厮守ぢ 2020-11-27 04:21

Are there any DOM mutation events in JQuery or in vanilla Javascript that fire cross browser?

To clarify, say I have a script on my page which inserts a div into the

6条回答
  •  有刺的猬
    2020-11-27 04:50

    If you are looking for an alternative to this method, here is http://www.jqui.net/jquery-projects/jquery-mutate-official/ which can also allow you to add events yourself and keep a watch for almost any change, class name change, height change, width change.

提交回复
热议问题