icarusca
11-16-2003, 07:53 PM
I'd like to be able to read the url of a link a user has clicked on.
I want to do some post-click processing on certain pages, so I thought I could have an onUnload event read urls as they are clicked on.
<head>
function check_url() {
my url = ??
}
</head>
<body onUnload=check_url()>
location.href and it's ilk don't work as they refer to the current page, not the link that was clicked on.
Any idea how to get this info? or am I going about it the wrong way?
thanks,
icarusca
I want to do some post-click processing on certain pages, so I thought I could have an onUnload event read urls as they are clicked on.
<head>
function check_url() {
my url = ??
}
</head>
<body onUnload=check_url()>
location.href and it's ilk don't work as they refer to the current page, not the link that was clicked on.
Any idea how to get this info? or am I going about it the wrong way?
thanks,
icarusca