change the link attribute value in jquery code example
Example: jQuery change href value
$("#someAnchorElement").attr("href", "http://www.myfancynewurl.com");
$("#someAnchorElement").attr("href", "http://www.myfancynewurl.com");