If I open a window using
window.open(\'myurl.html\', \'windowname\', \'width=100,height=100\');
How do I refer to the new window (from the
Sorry I am posting late, but if you still have the other window open, and they are on the same domain, you can run, on the first window:
function getReference(w) { console.log('Hello from', w); }
And on the second window:
window.opener.getReference(window);