求一段跳转的程序
想用按纽的onclick事件跳转到另外一个页面
<input name= "Submit3 " type= "button " onclick= " " value= "新用户注册 " />
如果跳转到11.jsp应该在onclick中写什么呢?
谢谢
------解决方案-------------------- <script>
function gotoNew()
{
window.location= "new.html ";
}
</script>
<input name= "Submit3 " type= "button " onclick= "gotoNew() " value= "新用户注册 " />