[Javascript] onChange event not firing at all
Mike Dougherty
mdougherty at pbp.com
Wed Oct 20 11:52:28 CDT 2010
On Wed, Oct 20, 2010 at 12:49 PM, Andre Polykanine <andre at oire.org> wrote:
> Hi everyone,
> Here's a simple form. For unknown reason the onChange event does fire
> only when the Tab key is pressed (as if it was an onBlur handler).
> More than that, the remaining chars number is increasing only by one.
> Any ideas, please?
>
If you want to trap key events, use the appropriate onKey* method.
I am not sure the onChange event is fired consistently on every browser - it
sounds like it's only checked upon the control losing focus. It makes sense
even if it's annoying in this case. :)
More information about the Javascript
mailing list