to be short : i want to select all the ‘checked’ checkboxes in my page except one of them !
so i tried this :
$('input:checkbox').not('#SpecificChbx').is(':checked')
i’ve tried this too :
$('input:checkbox:not(#SpecificChbx)').is(':checked')
i’ve tried so many alternatives but still not working .. any help please ?
this is a jsfiddle example
.isreturns true or false (if one of the matches checkboxes is checked it will return true, else false), what you want is a jQuery collection:$('input:checkbox:checked:not(#SpecificChbx)')