jquery read href attribute

JavaScript
var href = $(this).attr('href');

Source

Also in JavaScript: