WombedHades
WombedHades

Reputation: 13

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.

Upvotes: 0

Views: 40

Answers (1)

Giorgi Shalamberidze
Giorgi Shalamberidze

Reputation: 304

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

Upvotes: 1

Related Questions