[英]Javascript submit button URL
我正在使用免费引导向导。 https://www.bootstrapdash.com/product/free-bootstrap-wizard/#product-demo-section
向导代码http://www.jquery-steps.com
单击完成按钮后,尝试将用户重定向到 register-success.html 页面。
这是我的 JS:
//Wizard Init
$("#wizard").steps({
headerTag: "h3",
bodyTag: "section",
transitionEffect: "none",
stepsOrientation: "vertical",
titleTemplate: '<span class="number">#index#</span>'
});
我设法重定向到成功页面。 但不确定解决方案是否正确
$("#wizard").steps({
headerTag: "h3",
bodyTag: "section",
transitionEffect: "none",
stepsOrientation: "vertical",
titleTemplate: '<span class="number">#index#</span>',
labels: {
finish: "Create My Accout",
},
onFinished: function redirect() {
window.location.replace("register-success.html");
return false;
}
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.