Show/Hide DIV With Checkbox Select

The following code will enable you to display a DIV with text when a checkbox is selected.

HTML

<input type="checkbox" name="MyCheckBox" id="MyCheckBox" />
<div id="ShowMeDIV" style="display: none;">
    <p>Wow; it's just so simple!</p>
</div>

jQuery

$('#MyCheckBox').click(function () {
if ($(this).is(':checked')) {
$("#ShowMeDIV").show();
} else {
$("#ShowMeDIV").hide();
}
});

View/Test on jsFiddle