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?
You can match partial class:
$('[class*="job-ad-details-"]')