Hey guys, what function could I use to say, if this radio button is checked show this \'div\'. Thanks in advance.
I liked @tinifni's jsfiddle. Here's one with 3 divs that show or hide depending on the radio.
http://jsfiddle.net/dbwest/wmKGd/572/
$('#form-id').change(function() {
if ($('#watch-me').attr('checked')) {
$('#show-me').show();
} else {
$('#show-me').hide();
}
if ($('#watch-me2').attr('checked')) {
$('#show-me2').show();
} else {
$('#show-me2').hide();
}
if ($('#watch-me3').attr('checked')) {
$('#show-me3').show();
} else {
$('#show-me3').hide();
}
});