Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(var x = document.querySelectorAll('address'), list = [], i = 0; i < x.length; i++) list.push(x[i].getAttribute('addr'));
- document.body.innerHTML = '<pre>'+list.join("\r\n")+'</pre>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement