$(function cbclicked() {
$('#CBAllPlates').hide();
$('#ddlPlate').change(function () {
if ($('#ddlPlate').val() == "Broth") {
$('#CBAllPlates').show();
} else {
$('#CBAllPlates').hide();
}
});
});
Anyone knows why this won't work? All I want is every time any value in the drop down list "ddlPlate" is clicked to hide my checkbox "CBAllPlates". I also have the drop down list & checkbox in variables .Client idk if that is a problem
cbclicked?