jQuery checkbox onChange
$('input[type=checkbox]').change(function () {
alert('changed');
});
There is a typo error :
$('#activelist :checkbox')...
Should be :
$('#inactivelist:checkbox')...
There is no need to use :checkbox
, also replace #activelist
with #inactivelist
:
$('#inactivelist').change(function () {
alert('changed');
});