JSFiddle - React, Tailwind, and code Playground

HTML

<html>
<body>
    <div id="product_descriptioncontent">
      <input type="text" id="a" />
      <textarea id="b"></textarea>
    </div>
</body>
<html>

JavaScript

$(document).ready(function() {
    var propertyChangeUnbound = false;
    $("#product_descriptioncontent").children().bind("propertychange", function(e) {
        if (e.originalEvent.propertyName == "value") {
            alert("Value changed!");
            //do other stuff
        }
    });

    $("#product_descriptioncontent").children().bind("input", function() {
        if (!propertyChangeUnbound) {
            $("#product_descriptioncontent").unbind("propertychange");
            propertyChangeUnbound = true;
        }
        alert("Value changed!");
        //do other stuff
    });
});