Answers for "get this link javascript"

54

javascript get url

var currentUrl = window.location.href;
Posted by: Guest on July-22-2019
0

javascript find link by href

//Selects all links with href='http://domain.com'
document.querySelectorAll("a[href='http://domain.com']");
Posted by: Guest on May-15-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language