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

Re: Cancelation of textInput event

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Mon, 29 Apr 2002 10:30:43 -0400
To: Christian Schmidt <christian@ostenfeld.dk>
Cc: www-dom@w3.org
Message-ID: <OFBF7A8FDE.C1159050-ON85256BAA.004F98C9@pok.ibm.com>

preventDefault only affects the single event it's called against. You can
think of it as setting a flag on that event object, though that may not be
how it's actually implemented.

If you want to cancel multiple events, you need a stateful event listener
which continues cancelling until it knows that it no longer has to do so.

______________________________________
Joe Kesselman  / IBM Research
Received on Monday, 29 April 2002 10:32:06 GMT

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