JSFiddle - React, Tailwind, and code Playground

by nkovacs

HTML

<input type="text" id="test" value="teszt"/>
<button id="button">Click me</button>

JavaScript

$("#test").on('propertychange',function() { alert('property changed')});
$('#button').on('click',function() { $("#test").prop('disabled',true); })