}

Checkbox Index Page 1

jQuery: get a checkbox value using jQuery

We explain how to get the value of the checked property in an HTML checkbox and then trigger an action based on the value. We recommend to use $('#conditions').prop('checked') when using jQuery 1.6+. If you want to set the checkbox value use: $("#conditions").attr("checked",true);. For Using the jquery toggle to a checkbox use $("#conditions").toggle(this.checked);`