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 www.tutorialrepublic.com #
 
PREVIOUS NEXT
Tagged: #change #href #jquery
ADD COMMENT
Topic
Name
2+2 =