$(document).ready(function() { $("a").attr("href", "https://www.google.com/"); console.log("Hyperlink Changed"); });