jsp 页面里
out.println("<td BGCOLOR=\"#00FF00\"><b><a href=user.do?act=2&sort=Score>Score</b></td>");能否把 <a href=user.do?act=2&sort=Score>
做成能submit 提交当前页面的文本数据 等数据的方法
如果能做 如何写?
out.println("<td BGCOLOR=\"#00FF00\"><b><a href=user.do?act=2&sort=Score>Score</b></td>");能否把 <a href=user.do?act=2&sort=Score>
做成能submit 提交当前页面的文本数据 等数据的方法
如果能做 如何写?
function doSub(){
this.action = "user.do?act=2&sort=Score";
this.submit();
}
</script>
function doSubmit(){
this.action = "user.do?act=2&sort=Score";
this.target = "aniframe";
this.method = "get"
this.submit();
}
</script>
<iframe name="aniframe" style="display:none"/> //这个放在<body></body>里面。
function doSubmit(){
this.action = "user.do?act=2&sort=Score";
this.target = "aniframe";
this.method = "get"
this.submit();
}
</script>
<iframe name
提示错误 error:object doesnt' support this property or methodurl......
submit 提交后
不恩在 acton里面 request.getparameter("startdate")
得到空值 ---- 奇怪 ,button的onlick是可以的
this.action = "user.do?act=2&sort=Score";
form1.submit();