I just trying to get the anchor text of a link. 

```
$('a').click(function(){
  alerT($(this).val());
});

<a href="#">test</a>

```

I have the above code, but for some reason it always returns empty.

Am i missing something?

Thank you!