- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Sat, 25 Apr 2009 11:05:35 -0700
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
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