title: Detecting change of a hidden input field
body: <p>I was hoping for some advice on how to detect the change of value of a hidden input field using jquery.</p>
  
  <pre><code>  &lt;input type='hidden'id='txtVar' value=''/&gt;
  
      $(document).on('change', '#txtVar', function () {
      alert("called");
  });
  </code></pre>
  
  <p>As it is at the moment I am not getting it right</p>
  
  <p>Regards</p>