W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: Tabbed Interfaces in CSS

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 25 Apr 2009 11:05:35 -0700
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
Message-Id: <DFF65A1B-48B0-4D0E-A58D-1242511C9AAC@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Apr 25, 2009, at 10:31 AM, Tab Atkins Jr. wrote:

>> It seems like it would be very useful to be able to use JavaScript  
>> to change
>> which box is checked. Would this be possible, with say  
>> myElement.checked ?
>> Or does that require going outside the CSS for the interface?
> At worst, you just throw a click() event at the element, simulating
> user interaction.  It's probably the easiest and most comprehensible
> way to do it anyway.  ^_^

How would you determine its current checked/not-checked state with JS?
Received on Saturday, 25 April 2009 18:06:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:35 UTC