Text change event in javascript

Text change event in javascript

 

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("input").change(function(){
    alert("Test");
  });
});
</script>
</head>
<body>
<input type="text" Name="txt_change">
</body>
</html>

2021-10-03