同时需要把Select选中项的那个参数传递过来,以便<table>里面的内容通过JSP处理,我试着嵌套一个<frame name="chart">显示<table>表格的页面
这样触发:
<select name="theURL" onChange="gotoURL(this);">
脚本是:
<script language=JavaScript>
<!--
function gotoURL(fm)
{
var SelectValue=fm.options[fm.selectedIndex].value;
if (SelectValue!="") {
alert(SelectValue);
location.href(SelectValue,"ChartFrame");
alert("result is");
//window.open(SelectValue,"Kchart","");
}
}
//-->
</script>
但是依然无法处理
================================================================================
显示格式用文字大概如下:
请选择游戏类型:[传奇2]
--------------------------------------------------------
<table>
</table>
--------------------------------------------------------
这样触发:
<select name="theURL" onChange="gotoURL(this);">
脚本是:
<script language=JavaScript>
<!--
function gotoURL(fm)
{
var SelectValue=fm.options[fm.selectedIndex].value;
if (SelectValue!="") {
alert(SelectValue);
location.href(SelectValue,"ChartFrame");
alert("result is");
//window.open(SelectValue,"Kchart","");
}
}
//-->
</script>
但是依然无法处理
================================================================================
显示格式用文字大概如下:
请选择游戏类型:[传奇2]
--------------------------------------------------------
<table>
</table>
--------------------------------------------------------
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货