2
I need to disable all checkboxes that are not selected/marked. I tried with the following code:
$('input[type=checkbox]').change(function(){
if($(this).prop("checked", false)){
$('input[type="checkbox"]:checked', false).prop("disabled", true);
}
});
But it’s wrong because it’s not working.
I need a strength to make it work.
Thanks in advance.
Thanks @Sergio. Worked perfectly!
– Bruno Oliveira
@Brunooliveira!
– Sergio