0
How i set a location in HTML??
3 Answers
+ 4
window.location.href is used to set location in HTML.
window.location.href = "https://www.google.com"; // code sets location to www.google.com
+ 3
You can visit https://developer.mozilla.org/en-US/docs/Web/API/Location for more information.
+ 1
can you post your current code?