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

91
Views
Creating list in JS variable conditioned on other criteria and passing back to applescript

I need to create an Array in JavaScript that would look something like this:

[precedingString+VALUE+followingString,
precedingString+VALUE+followingString,
precedingString+VALUE+followingString,
precedingString+VALUE+followingString,
precedingString+VALUE+followingString]

I then need to pass this list back to the parent AppleScript. I have a couple things I'm not managing...

First of all, I want to only include values from rows that contain a positive value in a child node. Secondly, how do I pass this back to AppleScript? Here is a screenshot of the HTML: screenshot

As you can see, I do NOT want to include "BOT2110011216431373672132273" because of its child "pcount" node having a value of zero, but do want to include the values underlined in green.

I would greatly appreciate actual JavaScript examples since I'm just trying to start learning!

Thanks!!

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!