Re: Tabbed Interfaces in CSS

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