Hi,
In the following example, all the radio controls have the name attribute set
to myradio, and the #offices_checkboxes part of the document is shown
when the radio with id 'radioOne' is checked. Your example probably didn't
work because of the syntax you used in your attribute selector (no @
Just off the top of my head, but may work...
$(document).ready(function() {
$('#offices_checkboxes').hide();
$('input:radio[name=radioName]:checked').click(function() {
$('#offices_checkboxes').show();
});
2 matches
Mail list logo