You are here: irt.org | FAQ | JavaScript | Link | Q491 [ previous next ]
There is no way to trap the next location, unless you add an onClick event handler to each link to tell you what link was selected by the user:
<script language="JavaScript"><!-- var nextpage = ''; //--></script> <body onUnload="alert(nextpage)"> <a href="http://www.irt.org/" onClick="nextpage=this.href">irt.org</a> </body>