Help with unit testing checkbox behavior. I have this page:
    
Try this:
$(function() {
    $('Make Hidden').appendTo('body');
    $('').appendTo('body');
    $('#makeHidden').click(function() { return onCheckboxClicked(this) } );
});
function onCheckboxClicked(el) {
    var isChecked = $(el).is(':checked');
    if (isChecked) {
        $('#displayer').hide();
    }
    else {
        $('#displayer').show();
    }
    return false;
}