简体   繁体   中英

How do I link to a site after validation in Javascript and HTML?

How exactly do I link to a different website when the validation is true in javascript? I am struggling with working out the validation.

if you want to locate to other page in javascript you can use window.location.replace("Reports.html")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM