How to send to another web page in a new tab?
JavaScript
2
Posts
2
Posters
0
Views
1
Watching
-
How do I send a user to another webpage by opening it up in a new tab? Here's what I know so far: location.href="addurlhere" I am at the very beginnings of learning, but I do not want people leaving my page completely to check out another, does that make sense? Thank you!
-
How do I send a user to another webpage by opening it up in a new tab? Here's what I know so far: location.href="addurlhere" I am at the very beginnings of learning, but I do not want people leaving my page completely to check out another, does that make sense? Thank you!
function OpenInNewTab() {
// window.open('http://w3schools.com', '_blank');
window.open('http://localhost:2319/test.aspx', '_blank');
};test