File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "" Watch "" New topic

Gayatri Ganesh
Ranch Hand

Joined: Dec 23, 2003
Posts: 143

I am new to javascript.
I use""); to open a new browser when the user clicks on a hyperlink.
But now I have a requirement that if this new browser is already open and user clicks on the hyberlink another new window should not b e opened. Instead the existing window should be used.
Does anyone know how to do this ?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63862

Read about the 2nd argument to

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
It's not a secret anymore!