title: how to call function On text field value changed event using Javascript in SharePoint
body: <p>Please help me how can I call  function.</p>
  
  <pre><code>&lt;script type="text/JavaScript"&gt;
      $(document).ready(function() { 
          $("input[title='IIN No']").change(function() { 
              alert($("input[title='IIN No']").val()) alert("Hi1"); 
              //TextChangeEvent(); 
              });
          }); 
      TextChangeEvent() {
          var IIN_value=$("input[title='IIN No']").val(); 
          alert(IIN_value);
          alert("Hi2"); 
      }
  &lt;/script&gt;
  </code></pre>