Home > jQuery > How Can jQuery Tell If a Checkbox Is Checked Or Not?
Bookmark and Share

How Can jQuery Tell If a Checkbox Is Checked Or Not?

Posted on March 23, 2018 | Filed in jQuery

Checking whether a checkbox is checked or not could come in handy if you want to show additional fields related to it. To check if it is checked or not:

if(jQuery(element).is(':checked')){
// If True
}

Leave a Reply