You are here: irt.org | FAQ | JavaScript | Window | Q716 [ previous next ]
The best approach is:
<SCRIPT LANGUAGE="JavaScript"><!-- function myVoid() { } function myOpen() { windowHandle = window.open('page.htm','windowName','height=400,width=400'); } //--></SCRIPT> <A HREF="#" onClick="this.href = 'javascript:myVoid()';myOpen()"