在什么时候?应该在从第二个切换到第一个时出现。function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}在函数中, if (restore) selObj.selectedIndex=0;的值在切换时有问题.
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}在函数中, if (restore) selObj.selectedIndex=0;的值在切换时有问题.
她总会链接到“当前地址+跳转地址”,如链接到www.ho.com/www.afcargo.com这种情况,高手出来帮帮忙啊!
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");==>eval(targ+".location.href='"+selObj.options[selObj.selectedIndex].value+"'");2)
<select name="select2" onChange="MM_jumpMenu('parent',this,0)">==><select name="select2" onChange="MM_jumpMenu('top',this,0)">