Answers for "give anchor url using jquery"

6

jquery set href of link

$('.element').attr('href', newUrl);
Posted by: Guest on March-04-2020
0

click anchor tag using jquery

$(document).ready(function () {
    $('#about')[0].click();  //$('#about').get(0).click();
});
Posted by: Guest on September-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language