JSFiddle - React, Tailwind, and code Playground

HTML

<html>
    <body>
        <div id="product_descriptioncontent"></div>
        <input type="button" id="btn" value="clicca">
    </body>
 <html>

JavaScript

$(document).ready( function() {
     $('#product_descriptioncontent').bind( "contentchange", function(){
          alert("pppp");// evento catturato
    });
    
    $( "#btn" ).click( function () {
        $('#product_descriptioncontent').html( "testo cambiato" ).trigger( "contentchange" );
    });
});