/ Published in: jQuery
                    
                                        
show div on checkbox check
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$('.check').change(function () {
if ($(this).attr("checked"))
{
$('.mydiv').fadeIn();
return;
}
$('.mydiv').fadeOut();
});
URL: http://jsfiddle.net/addyosmani/ND428/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                