check checked using this code example Example: How do I check whether a checkbox is checked in jQuery? $('#' + id).is(":checked")