views:

66

answers:

1

Can JavaScript see the target name of a window that was opened by a regular "href". Here is an example:

<a href="http://www.cnn.com" target="_blanknewWindow" name="NewWindowName">
A: 
alert(window.name);

will contain the target name.

Pekka