checkbox array checked jquery code example Example: checkbox jquery checked var isExpanded = $(this).attr('checked') == "checked";