lz先搞清楚JSP和Javascript和JScript是三门不同的语言
----------------解决方案--------------------------------------------------------
jsp的话action提交
----------------解决方案--------------------------------------------------------
如下
程序代码:
<body>
<form id="form1" name="form1" method="post" action="你想跳转的页面路径">
<input type="subimt" name="" value="注册" />
</form>
</body>
用Javascript
程序代码:
<body>
<script>
function subimt()
{
window.location = "你想跳转的页面路径";
}
</script>
<form id="form1" name="form1" method="post" action="">
<input type="button" name="" value="注册" onclick="subimt()"/>
</form>
</body>
还有一种用超链接形式的,
----------------解决方案--------------------------------------------------------
你在网上搜搜js的资料看看就行,不用特别买书学
----------------解决方案--------------------------------------------------------
提示: 作者被禁止或删除 内容自动屏蔽