how to get attribute value of anchor tag in javascript code example
Example: javascript find all href with same value
//Selects all links which have href='http://google.com'
document.querySelectorAll("a[href='http://google.com']");
//Selects all links which have href='http://google.com'
document.querySelectorAll("a[href='http://google.com']");