> > > > $(document).ready(function(){ > $("#precheck").toggle( > function () { > $(".preregbox").show('slow'); > }, > function () { > $(".preregbox").hide('slow'); > } > ); > });
I've had that problem too and switched to this structure: $('input#precheck').click(function() { if($(this).attr("checked")) { //show } else { // hide } }); --dave