views:

42

answers:

1

Hello, Does anyone know how to open a browser window from a child window?

On my main window I'm doing a window.open(.....). But then from this child window I want to open another child window, but its not working. I mean the problem is that the window opens on the first child.

Any ideas?

Thanks.

+1  A: 

Try to use a different name for each window you open:

window.open('url here', 'window one', 'settings')
window.open('url here', 'window two', 'settings')
window.open('url here', 'window three', 'settings')
// and so on
Sarfraz