How to get url of newly created window or tab on button clic
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.