JQuery Set href of Link
$('.element').attr('href', newUrl);
Eloquent Design
$('.element').attr('href', newUrl);
$("a").attr("href", "http://www.google.com/")
$("#mylink").attr("href");
$("#someAnchorElement").attr("href", "http://www.myfancynewurl.com");