为什么<A href=a.action target="b "><input type="buton" value="确定"/><A>在firefox中行却在i 为什么<A href=a.action target="b "><input type="buton" value="确定"/><A>在firefox中行却在ie中不行,能有解决的办法吗 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script>function test(){window.location.target = "b";window.location.href = "a.action";}</script><input type="button" value="确定" onclick="test()"/> <A href=a.action target="b ">??a.action 是啥啊?直接加上跳转的页面就可以! target = "b";不起作用啊~~~ 在a.action怎么获得 <input type="text" value="name">中name的值 <script>function test(){var name = document.getElementById("name").value;window.location.target = "b";window.location.href = "a.action?name="+name;}</script><input type="text" id="name" name="name"/><input type="button" value="确定" onclick="test()"/> 这样就可以在a.action里用request.getParamenter("name");来获取了 但是在Action中接受到的是???号(乱码) href=a.action target="b" 这儿有错 乱码,看你用的服务器是什么?如果是tomcat,如果是get方法提交,那可以在server.xml中找到connector节点,加一个属性,URIEncoding=gbk就可以统一解决。 为什么要这样子用?<A href=a.action target="b ">确定<A> 点击按钮之后弹出Subwindow后面的页面还是可以点到问题 JBPM3整合JPA,求解决方案。 javabean 问题 spring aop 怎样拦截struts2中的变量 请教一个tomcat问题,url指定servlet,在线等! Struts CheckBox标签的使用疑惑,大家帮帮忙 怎样转化java的Date类型成js的date类型? 我得cookie消失了 我这样做已经没错了吧,为什么还can not creat bean of class t (急) jsp+mysql的时间控制问题 为什么 对象不支持此属性或方法?请指导 hibernate操作关系表(中间表)
<script>
function test()
{
window.location.target = "b";
window.location.href = "a.action";
}
</script>
<input type="button" value="确定" onclick="test()"/>
不起作用啊~~~
function test()
{
var name = document.getElementById("name").value;
window.location.target = "b";
window.location.href = "a.action?name="+name;
}
</script>
<input type="text" id="name" name="name"/>
<input type="button" value="确定" onclick="test()"/>