At the moment, I don't think there's a way to match every key *except* some others.
On Mon, Sep 13, 2010 at 7:36 AM, Andrea Dessì <[email protected]> wrote: > On Mon, Sep 13, 2010 at 14:49, Michal Charemza > <[email protected]>wrote: > >> Maybe faking the ctrl-event isn't the thing to do (if it is even >> possible). I would try >> >> - Listening to the click event on the select / each option element >> (perhaps using delegation) >> - On click of each option, set it's "selected" attribute to "selected" or >> true (or removing the attribute if it is already selected) >> - And you might have to call "preventDefault" on the passed Event instance >> the listener to stop the default behaviour of deselecting other elements. >> >> Not sure if this would work though, and I'm already suspecting IE >> issues... >> >> Michal. >> >> > Uhm... I think It's better to use checkboxes :) just dress them like a > select box :D > > > but... my question was about the Keyboard Class and a default function > for keypress/down/up ;) > > -- > Andrea >
