急求一个SELECT解,万分感谢
function winImg(){
var obj=document.all.mudedi.options;
for(i=0;i<obj.length;i++){
if(obj[i].selected==true){
alert(obj[i].value);
}
}
}
<select name="mudedi" onclick="winImg()" size="10" multiple="MULTIPLE">
<option value=1>a</option>
<option value=2>aa</option>
<option value=3>aaa</option>
</select>