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!!