note, sometimes people tab through field elements and use the spacebar to check checkboxes. in this case you'd need to capture the event in that manner as well. i would suggest writing a function with the code i've already given you to account for that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.