Shanmugam Rajagopal
asked on
Rename the title of new window from window.open
Hi, I am using angular. I have an issue with window open with below parameters (to open a new tab for the url)
var newWindow = window.open(url, "_blank");
newWindow.onload = function () { newWindow.document.title= "New Title"; }
When new tab is opened it does not have the "New Title" which I am expected. Please help
var newWindow = window.open(url, "_blank");
newWindow.onload = function () { newWindow.document.title= "New Title"; }
When new tab is opened it does not have the "New Title" which I am expected. Please help
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Open in new window