I am willing to detect text change in a div using jquery. Can anyone guide me how to use DOMSubtreeModified in wordpress.

Something like this:

$("body").on('DOMSubtreeModified', "txtdiv", function() {

Read more here: DOMSubtreeModified WordPress


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: