Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#cat1-cb").change(function(){
- if ($("#cat1-cb").is(":checked")) {
- $(".category1").show();
- }else{
- $(".category1").hide();
- }
- });
- $("#cat2-cb").change(function(){
- if ($("#cat2-cb").is(":checked")) {
- $(".category2").show();
- }else{
- $(".category2").hide();
- }
- });
- $("#cat3-cb").change(function(){
- if ($("#cat3-cb").is(":checked")) {
- $(".category3").show();
- }else{
- $(".category3").hide();
- }
- });
Add Comment
Please, Sign In to add comment