Ilya Zlobin
0
Q:

get all href from html

var arr = [], l = document.links;
for(var i=0; i<l.length; i++) {
  arr.push(l[i].href);
}
0

New to Communities?

Join the community