You are here: irt.org | FAQ | JavaScript | Link | Q1377 [ previous next ]
Try:
<span id="outer" style="position:relative"> <a href="javascript:alert('Hello World');">click</a> <span id="inner" style="position:relative"><a href="javascript:;" onClick="this.href=window.document.layers['outer'].document.links[0]">click here</a></span> </span>