Re: Input events, checkboxes and radio buttons

On Sat, 20 Jun 2009 06:35:16 -0400, Anne van Kesteren <annevk@opera.com>  
wrote:

> On Fri, 19 Jun 2009 19:57:20 +0200, Erik Arvidsson  
> <erik.arvidsson@gmail.com> wrote:
>> The HTML5 spec says to fire the input event when the user changes a  
>> radio
>> button or a checkbox. However, the spec says "When the input event
>> applies, any time the user causes the element's *value* to change". For
>> input[type="radio"] and input[type="checkbox"] the input event should be
>> fired any time the user causes the element's *checked* property to
>> change.
>
> The input event does not apply to radio/checkbox. (This is stated in the  
> radio/checkbox sectons.)

Are you sure?

The table under  
<http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-input-element>  
(scroll down a bit) shows "yes" for the input event under the  
radio/checkbox column.

-- 
Michael

Received on Sunday, 21 June 2009 01:40:48 UTC