javascript - firing event on DOM attribute change -
is there way trigger event (may custom) on attribute change?
let's say, when img src changed or div's innerhtml?
note: of 2012, mutation events have been removed standard , deprecated. see other answers or documentation how use replacement, mutationobserver
.
you referring dom mutation events. there poor (but improving) browser support these events. mutation events plugin jquery might of way.
Comments
Post a Comment