Hi, I'm just getting started with jQuery and I want to get the url of a selected element so I can do something with it.
To start with I'm just trying to get the url of a hovered link to show up in an alert. Can anyone tell me where I'm going wrong?
$(function() {
$("table#content > tbody > tr > td > a[href*=delete]").hover(function(event){
alert(this.value);
});
});
Any help would be appreciated.
Thanks.