faqts : Computers : Programming : Languages : JavaScript : Windows

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 9 people (78%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

How to reference a window if two windows have same internal name (set with window.name='name')?

Aug 24th, 2000 15:35
Martin Honnen, Glen Little,


You shouldn't use the same name twice. If you do I don't think you can 
reliably access both windows.
  var w = open('', 'windowName')
gives you access to one window which one is not defined.