How to register Javascript function to find when HiddenField value changed?
<p>I have a page that contains a <code>HiddenField</code> control, I register some javascript on page load which contains a function I want to run when the HiddenField value has changed. </p>

<p>Currently, I have the following code which executes the function if an input field's value has changed:</p>

<pre><code>$(':input').change(function(){ pageHasBeenUpdated = true;  });
</code></pre>

<p>What javascript would I need to set <code>pageHasBeenUpdated = true</code> if the value of the <code>HiddenField</code> control has been updated?</p>
