Christoph wrote:
Is there any way you can trigger a function when the
value of a hidden form element is changed?
thnx,
Christoph
The only way that seems to work is via the onpropertychange event
handler:
<input type="hidden".....onpropertychange="alert('changed ')" />
....which is IE-only afaik. The entire concept of a 'change' event for a
hidden field is a bit shaky, as a change equals a value change followed
by a blur - and blur/focus for hidden fields is a seemingly invalid
concept. Since you can only change hidden fields programmatically
(script), presumably as the programmer you'd already know when you (as
opposed to a user) had changed the value...