onchange event for input text element not firing when changing value
I have a an input element:
<INPUT size=1 TYPE="TEXT" name="no_cat_input" value="0" onChange="calcCats();">
According to what I read about JS events, the function calcCats() should run when i change the text in the field. however it only runs when I change the value AND then click elsewhere to get the focus off the input element. Why is this?
http://msdn.microsoft.com/en-us/library/ms536912%28VS.85%29.aspx