I want to get the value checkboxusing jQuery when to uncheck the checkbox and show this unchecked value in the popup. I tried the code below, but it does not work.
$("#countries input:checkbox:not(:checked)").click(function(){
var val = $(this).val();
alert('uncheckd' + val);
});
Is it possible to get an uncontrolled value this way?
source
share