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