除了 minitech 指出的错字之外,使用 addEventListener:
https://developer.mozilla.org/en-US/docs/DOM/element.addEventListener
或者只是使用像 jQuery$('#1stLogos').change(function ..
这样的库,它将为您完成繁重的事件监听。
http://jsfiddle.net/E7Qvg/
document.getElementById('lstLogos').addEventListener('change', changerLogo);
document.getElementById('lstPhotos').addEventListener('change', changerImage);
function changerImage() {
var indice1 = lstPhotos.selectedIndex;
var choix1 = lstPhotos.options[indice1].value;
grosseImage1.src = "images/circuit/" + choix1;
alert('changerImage works: ' + choix1);
}
function changerLogo() {
var indice2 = lstLogos.selectedIndex;
var choix2 = lstLogos.options[indice2].value;
alert('changerLogo works: ' + choix2);
}