Team:TU Munich/lab/notebook
From 2011.igem.org
(Difference between revisions)
Line 136: | Line 136: | ||
$('.labcheckbox').click(function() { | $('.labcheckbox').click(function() { | ||
if ($(this).is(':checked')){ | if ($(this).is(':checked')){ | ||
- | $('.'+this.value).css({display: block}) | + | $('.'+this.value).css({display: 'block'}) |
console.log(this.value); | console.log(this.value); | ||
} else { | } else { | ||
- | $('.'+this.value).css({display:none}) | + | $('.'+this.value).css({display: 'none'}) |
} | } | ||
}); | }); |
Revision as of 21:02, 14 September 2011