Return to Snippet

Revision: 65148
at October 31, 2013 01:06 by thesmu


Initial Code
$('.check').change(function () {
    if ($(this).attr("checked")) 
    {
        
        $('.mydiv').fadeIn();
        return;
    }
   $('.mydiv').fadeOut();
});

Initial URL
http://jsfiddle.net/addyosmani/ND428/

Initial Description
show div on checkbox check

Initial Title
show div on checkbox check

Initial Tags

                                

Initial Language
jQuery