3
Answers

How to get url of newly created window or tab on button clic

Renjith V S

Renjith V S

10y
1.4k
1
Hi,
I need to get the url of newly created window, which will be obtained by clicking a button. I have got current url by using document.url. Similarly I need to get the url of new tab or window which is generated by clicking a button.
Answers (3)