$('.element').attr('href', newUrl);
$("a").attr("href", "http://www.google.com/")
$(document).ready(function() {
$("a").attr("href", "https://www.google.com/");
console.log("Hyperlink Changed");
});
uery set href of linkJavascript By Eloquent Design on Mar 4 2020 DonateThankComment
$('.element').attr('href', newUrl);