Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change href with jquery

$(document).ready(function() {
        $("a").attr("href", "https://www.google.com/");
        console.log("Hyperlink Changed");
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #href #jquery
ADD COMMENT
Topic
Name
5+4 =