Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
Haw JS parsing HTML by to First index in div.item_

In HTML structure i have "div.item_32536" and 4 "a" ( NO class - no ID).

    <div class="item_3245672">
       <a href="*****"><p>****</p></a>   //<= only this
       <a href="*****"><p>****</p></a>
       <a href="*****"><p>****</p></a>
    </div>

What i can Parsing this structure, and have result, only to Index "First to TOP" in "div.item_".

//My cod

for (var link of document.querySelectorAll (`[class*="item_"] a`)) {
i.push({'title': link.text, 'href': link.getAttribute('href')});
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!