Team:Hong Kong-CUHK/Laboratory/log book
From 2011.igem.org
(Difference between revisions)
Line 55: | Line 55: | ||
</div> | </div> | ||
<script> | <script> | ||
+ | function clickin(object){ | ||
+ | alert(object.getAttribute('qid')); | ||
+ | }; | ||
for(var i=0;i<14;i++) | for(var i=0;i<14;i++) | ||
$('div#index_selection') | $('div#index_selection') | ||
- | .append('<div class="indexsel"><div class="number">' + i +'</div><div class="week">week</div></div>') | + | .append('<div class="indexsel" onclick="clickin(this)" qid="'+(i+1)+'"><div class="number">' + (i+1) +'</div><div class="week">week</div></div>') |
</script> | </script> | ||
Revision as of 11:05, 5 October 2011
"Creativity is thinking up new things. Innovation is doing new things." - Theodore Levitt
©Copyright CUHK IGEM Team 2011