Hi Karl, you are right. I just tested it on IE, FF, Opera and Chrome. click works fine on all 4 browsers for both mouse and keyboard.
by(e) Stephan 2009/2/10 Karl Swedberg <k...@englishrules.com>: > On Feb 10, 2009, at 9:45 AM, Stephan Veigl wrote: > > change your > $("input:checkbox").change(function () {... > line to > $("input:checkbox").bind("change click keypress", function(){... > to catch the checkbox every time it has been clicked (either with > mouse or keyboard) > > I'm not sure that keypress is necessary here. click should work for both > mouse and key interaction. actually, click would probably suffice without > change as well. > > --Karl > ____________ > Karl Swedberg > www.englishrules.com > www.learningjquery.com >