title: Hidden value wont fire in my javascript
body: <p>I have a hidden field value which changes. In my javascript, I was hoping to detect this change and pass values to my php script. </p>
  
  <p>I have read that hidden field values change event need to be triggered. Since this value is always changing how do I go about it.</p>
  
  <p>Below is the code I tried:</p>
  
  <pre><code> $('#supp').val().trigger('change');
  
   $('#supp').change(function ()
  {
      populate();
  })
  </code></pre>
  
  <p>This gives me a console error </p>
  
  <pre><code>Uncaught TypeError: Object has no method trigger.
  </code></pre>