JSFiddle - React, Tailwind, and code Playground

HTML

<html>
    <head></head>
    <body>
        <input type="text" value="" id="Textbox" onchange="alert('text change');" />
        <input type="button" value="" onclick="document.getElementById('Textbox').value = 'Hello';" />
    </body>
</html>

JavaScript

$(document).ready(function(){
    $("#Textbox").keypress(function(){
        alert("text changed");
    });
});