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

95
Views
Scrape webpage with unstable class
var summary = $(".job-ad-details-72250").text();

above is a js path from a web page. I want to extract content from that path but unfortunately, the

class which I should use to extract content has a number(72250) and it keeps on changing. meaning

its only useful on one page, the number changes if is another page. is there a way i can put a

constant kind of?

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

0

You can match partial class:

$('[class*="job-ad-details-"]')
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!