onChange="if( options[selectedIndex].value!='')window.location='index.jsp?BM='options[selectedIndex].value''"? <select size="1" name="BM" onChange="if( options[selectedIndex].value!='') {window.location.herf='index.jsp?BM='"+options[selectedIndex].value+"''} "> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <select size="1" name="BM" onChange="if( options[selectedIndex].value!='')window.location='index.jsp?BM=' + options[selectedIndex].value;" >最好还是定义一个函数吧:<select size="1" name="BM" onchange="test();"><script>function test(){if( document.all["BM"].value!='')window.location='index.jsp?BM=' + document.all["BM"].value;}</script> <select size="1" name="BM" onChange="if( options[selectedIndex].value!='') {window.location.herf='index.jsp?BM='+options[selectedIndex].value+'';} ">这样就ok 了!!! <select size="1" name="BM" onChange="if( options[selectedIndex].value!='')window.location='index.jsp?BM=options[selectedIndex].value' "><option>aa<option value="aa">aa<option>aa</select> 照flyshp(天堂雨)做就可以了。 这是怎么回事? 求助:各位高手。。 spring+hibernate去连接数据库在xp下正常,2003 server下出现以下错误信息 jsp如何禁用cookie 想问问可以如何来提高自己的技术? jsp中如何计算用户的在线时间 jsp 虚拟空间 是否可以使用自己上传的字体 JDOM的问题 求指教,SSH项目里怎么搭建Quartz呢? 请问ibatis事务要做做呢? 想疯了,救我吧!调数据库的联动问题! 利用复选框进行批量删除的问题,在线等待请大家帮忙 啊
最好还是定义一个函数吧:<select size="1" name="BM" onchange="test();"><script>
function test()
{
if( document.all["BM"].value!='')
window.location='index.jsp?BM=' + document.all["BM"].value;
}</script>
<option>aa<option value="aa">aa<option>aa
</select>