W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: Event for form element changes (onvaluechanged)

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 8 Apr 2011 15:47:48 -0400
Message-ID: <BANLkTinqoz2oEr7gu-Qt_FUOBuxvGgCJ3Q@mail.gmail.com>
To: Aryeh Gregor <Simetrical+w3c@gmail.com>
Cc: www-dom@w3.org
On Fri, Apr 8, 2011 at 3:05 PM, Aryeh Gregor <Simetrical+w3c@gmail.com>wrote:

> I don't think it's an optimization.  (We always had keypress, right?)
> It's for cases where you actually want to only do something when the
> input loses focus.


That's useful, too, but before oninput that was the *only* thing you could
do (reliably, short of polling with a timer)--so it always seemed like an
optimization, at least.  (keypress and keydown only tell you about
keystrokes, not all of the other things that can change an input.)

-- 
Glenn Maynard
Received on Friday, 8 April 2011 19:54:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT