Saturday, December 17, 2011

Checking a checkbox by pressing the spacebar WILL fire the .click jQuery event.

I tested in Firefox, IE, and Chrome. There is thus little reason to put .focus event logic around a checkbox to try to catch the keyboard version of clicking. In fact, I've had .focus logic get in the way.

No comments:

Post a Comment