I'm trying to figure out why my function $ is not displaying the location of my link:
<html>
<head>
<title>Link Test</title>
</head>
<body>
<a id="mylink" href="hxxp://mysite.com">Click me</a><br>
<script>
$('mylink').href
function $(id)
{
return document.getElementById(id)
}
</script>
</body>
</html>