Answers for "window.location.href another tab"

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 "window.location.href another tab"

Browse Popular Code Answers by Language