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