Team:UNIK Copenhagen/test4
From 2014.igem.org
(Difference between revisions)
Line 57: | Line 57: | ||
var x = document.getElementById("myCheck"); | var x = document.getElementById("myCheck"); | ||
if ( x.checked = true;) { | if ( x.checked = true;) { | ||
- | |||
document.getElementById("about_gene").innerHTML="<p>This sequence codes for the viable part of the light chain in the FAB fragment</p>"; | document.getElementById("about_gene").innerHTML="<p>This sequence codes for the viable part of the light chain in the FAB fragment</p>"; | ||
} else { | } else { | ||
- | |||
document.getElementById("about_gene").innerHTML="<p>This sequence codes for the conserved part of the light in the FAB fragment.</p>"; | document.getElementById("about_gene").innerHTML="<p>This sequence codes for the conserved part of the light in the FAB fragment.</p>"; | ||
- | |||
} | } | ||
Revision as of 20:29, 12 August 2014
A demonstration of how to access a Checkbox
Checkbox:Click the "Try it" button to check the checkbox.