I am checking if a checkbox is checked, and if so, setting the visibility of a DIV.
However, the property check is failing. Nothing happens. When I put an alert before the "if", the alert fires. But with the if's, nothing happens. What am I doing wrong?
$('.cbFee').click(function () {
    if ($('.cbFee').prop('checked')) {
        $('.grpAnnualFee').hide();
    } else {
        $('.grpAnnualFee').show();
    }
});
 
     
    