Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let elementsHistoric = document.getElementById("ulhistoricocompleto");
- for (var element of elementsHistoric) {
- let title = element.querySelectorAll("#ulhistoricocompleto .hstLne")[0].querySelector(".hstTtl").innerText;
- let date = element.querySelectorAll("#ulhistoricocompleto .hstLne")[0].querySelector(".hstDta").innerText;
- let description = element.querySelectorAll("#ulhistoricocompleto .hstLne")[0].querySelector(".hstMais").innerText;
- data.push({ title, date, description });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement