满意答案
ed_ch
2013.11.06
采纳率:44% 等级:12
已帮助:8801人
定义成全局变量就可以了
var style_key;
function change_mystyle(my){
style_key=my.options[my.selectedIndex].value;
if(style_key == '114la'){
document.getElementById('shoostyleicon').src='$Murl/images/114la/115.gif';
}
}
function setindex_left_right(){
var mod_left =document.getElementById("index_left");
var mod_right =document.getElementById("index_right");
for( var i=0;i
mod_left.options[i].selected=" selected";
}
for( var j=0;j
mod_right.options[j].selected=" selected";
}
}
00分享举报