Team:CBNU-Korea/test
From 2012.igem.org
(Difference between revisions)
Line 563: | Line 563: | ||
$('#CB_select').change(function(event) { | $('#CB_select').change(function(event) { | ||
var i = document.getElementById("CB_select").selectedIndex; | var i = document.getElementById("CB_select").selectedIndex; | ||
- | var imgSrc = array | + | var imgSrc = array[i]; |
$('#img_test').attr('src', imgSrc); | $('#img_test').attr('src', imgSrc); | ||
}).change(); | }).change(); |
Revision as of 12:28, 26 September 2012