0

When I open a new tab using the window.open method, I want to programmatically change the URL of that tab (which is already open).

Let's take an example I have opened a new tab google.com and saved it like this let a = window.open('https://google.com','_blank') then I want that I open a new link which is bing.com in the same (a)

I have used window.location for it but did not work

Audun Hilden
  • 330
  • 3
  • 13
Imperial X
  • 11
  • 2

0 Answers0