Answers for "set url jquery"

6

jquery set href of link

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

jquery url change

// Redirecting
$(window.location)[0].replace("https://www.google.it");
Posted by: Guest on October-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language