Team:Hong Kong-CUHK/Laboratory/log book
From 2011.igem.org
(Difference between revisions)
Line 59: | Line 59: | ||
➨ Select week number from the table above... | ➨ Select week number from the table above... | ||
</div> | </div> | ||
- | |||
- | |||
<script> | <script> | ||
function clickin(object){ | function clickin(object){ | ||
alert(object.getAttribute('qid')); | alert(object.getAttribute('qid')); | ||
}; | }; | ||
- | for(var i=0;i< | + | var z=["1-6","7-9","9-13"]; |
+ | for(var i=0;i<3;i++) | ||
$('div#index_selection') | $('div#index_selection') | ||
- | .append('<div class="indexsel" onclick="clickin(this)" qid="'+(i)+'"><div class="number">' + | + | .append('<div class="indexsel" onclick="clickin(this)" qid="'+(i)+'"><div class="number">' + z[i] +'</div><div class="week">week(s)</div></div>') |
</script> | </script> | ||
Revision as of 11:30, 5 October 2011