Forum Moderators: open
does this help...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><script type="text/javascript">
window.onload=function(){
document.getElementById('mylink').onclick=function() {
alert('href="'+this.href+'" and the anchor text is...\n\n'+this.firstChild.nodeValue);
}
}
</script></head>
<body><div>
<a id="mylink" href="http://www.webmasterworld.com/">go to webmasterworld</a>
</div></body>
</html>
birdbrain
No problem, you're welcome. ;)