首页 > 解决方案 > 如何在 JavaScript 中将用户重定向到考试页面?

问题描述

使用 JS .. 注册表单,然后在验证后进入登录表单,然后在验证后将重定向到测验页面。有人知道怎么做吗?

标签: javascriptformsregistrationgoogle-formsweb-development-server

解决方案


您可以使用以下代码在验证后重定向到不同的页面

window.location.replace("http://sample.com/nexpage");


推荐阅读