checked or not check code example Example: how to check input is selected or not $('#' + id).is(":checked")