get href value from the jquery element code example
Example 1: get attribute value jquery href
var href = $(this).attr('href');
Example 2: jquery get link href value
$("#mylink").attr("href");
var href = $(this).attr('href');
$("#mylink").attr("href");