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

133
Views
How do I access all elements with same class but no parent class in cheerio
<div class="answer">
    <div>first</div>
</div>

<div class="answer">
    <div>second</div>
</div>

<div class="answer">
    <div>third</div>
</div>

I have to access all the elements with class=answer

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

i'm not sure if cheer.io can or not but in jQuery you can use this:

$("html").findAll(".answer")

i think it will work because every XML document must have a supreme tag like document.documentElement

about 4 years ago · Juan Pablo Isaza Report
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!