Is there a way to open a new tab in a window that you have opened already, through JavaScript, from the parent window, but open the tab in the new window, not the parent window?
In other words, can you do this type of a thing in the same DOM from one JavaScript?
//this opens the new window
var windowOpened = window.open("html1.html", "", "width=400, height=200");
//this is where I would like to open a new tab in the window I opened above
windowOpened.open("html2.html","","_blank");
I'm fairly certain that the "_blank" is not valid, but it is there for an example. I'm hoping there has to be a way that will open the new tab in the window that was already opened, through javascript from another window.
I know I could use jQuery-ui and open a window that has tabs in it, that I can add tabs to or even remove a tab. But I'm needing an existing browser window to open a new tab in the window that I opened from the "parent" window.
Is this possible? If so how?