Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 64: | Line 64: | ||
var filt = that.id; | var filt = that.id; | ||
var row = that.parentNode; | var row = that.parentNode; | ||
- | alert(row | + | alert(row); |
for(var i=0; i<row.children.length; i++) | for(var i=0; i<row.children.length; i++) | ||
{ | { | ||
Line 70: | Line 70: | ||
if(row.children[i].id == filt) hide = false; | if(row.children[i].id == filt) hide = false; | ||
- | + | document.getElementById(row.children[i].id + "entry") = (hide ? 'none' : 'block'); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
} | } |
Revision as of 21:46, 5 March 2013