基本上,我现在正在做一个网站,当我在访问网站时制作一个确认弹出框时,我做对话,没有问题,但是当涉及到“确定”和“取消”按钮时,它们都允许访问该网站。我想要的是“确定”按钮继续用户进入网站,但“取消”按钮关闭选项卡。我该怎么做?<!doctype html> <head> var r=confirm("If you agree you ar
但是,单击“注册”按钮后,我想重定向到其他页面"/client/components/login/login.html“,并且重定向不起作用。从后端我收到了这样的数据:
{"success":true,"message":"User has been created","url":"/client/components/login/login.html