Answers for "The window.location.href in new tab"

0

javascript window.location new tab

window.open('https://example.org', '_blank');
Posted by: Guest on June-08-2020
1

window.location.href another tab

window.open(
  'https://support.wwf.org.uk/earth_hour/index.php?type=individual',
  '_blank' // <- This is what makes it open in a new window.
);
Posted by: Guest on May-05-2021

Code answers related to "The window.location.href in new tab"

Code answers related to "Javascript"

Browse Popular Code Answers by Language