jquery get href from a code example
Example 1: jQuery change href value
$("#someAnchorElement").attr("href", "http://www.myfancynewurl.com");
Example 2: jquery get link href value
$("#mylink").attr("href");
$("#someAnchorElement").attr("href", "http://www.myfancynewurl.com");
$("#mylink").attr("href");