JSFiddle - React, Tailwind, and code Playground

by Abhilash1994

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<input type="text" id="value">

JavaScript

$(document).ready(function() {
   $("#value").change(function(e){
   var a=document.getElementById("value").value;
alert(a);

});
});