- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 8 Jun 2006 22:55:02 +0000 (UTC)
On Thu, 8 Jun 2006, Shadow2531 wrote: > > <http://whatwg.org/specs/web-forms/current-work/#the-change> > > "this specification introduces the input event. This event is fired on > a control whenever the value of the control changes due to input from > the user" > > Does "due to input from the user" mean that *every*, *direct* action > the user *makes on the control* (that changes its value) causes the > event to fire? > > Specifically, if I have this: > <textarea oninput="alert('test')"></textarea> > > , and right-click and paste into the textarea or ctrl+v into the > textarea to paste, or select and cut, should the event fire? Yes. Another part of the spec mentions that the UA may coallesce multiple inputs into one input event, so e.g. if you type very fast it might not fire one input event per character, it might fire one every few hundred milliseconds instead. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 8 June 2006 15:55:02 UTC