Detect element content changes with jQuery

后端 未结 15 2275
余生分开走
余生分开走 2020-11-22 04:19

change() function works and detects changes on form elements, but is there a way of detecting when a DOM element\'s content was changed?

This does not w

15条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 05:02

    I'm developing tiny JS library called mutabor (https://github.com/eskat0n/mutabor) which intended to simplify usage of DOM Mutation Events. See demo.html for examples.

提交回复
热议问题