Html input checkbox using

less than 1 minute read could look familiar by almost all experienced web developers. That’s commonly seen in the input text box event handler in reactjs code, .e.g onChange.

However, when it comes to an input checkbox, you probably don’t want to play with, as it’ll be always a string value “on”, which is basicaly useless. The property should be used is In the case of jQuery, use .is(':checked').