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 same page that opened it) using ‘windowname’? This question is specifically about this. I’m aware that I could save a reference to the handle by using “var mywin = window.open(…)” but I don’t care about that in this situation.
Thanks, – Dave
afaik there’s no way like
windows['windowname'].The ‘windowname’ assigned in window.open() can be addressed as a target in
<a target="windowname" [...] >