Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

checkbox is checked jquery

$("#out_of_stock_toggle").click(function(){
      if($(this).is(':checked')){
        //show oos
        $(".oos").fadeIn();
      }else{
        //hide oos
        $(".oos").fadeOut();
      }
    });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #checkbox #checked #jquery
ADD COMMENT
Topic
Name
8+4 =