Hello everyone,
I'm working on an html table with links where I keep on extracting data using standard and custom PAD/jQuery selectors.
To loop through all the rows I basically extract the id of the link/anchor tag which has the row number needed. The issue is that sometimes the next row number increases or decreases to a number that doesn't make sense from a logical perspective
eg. 1,2,3,4,300,301,302,1,5,10 (Probably because the data is coming from other tables, which I can't really access)
So I wonder if there's a way to select the closest anchor tag, or maybe the next element with an anchor tag using jQuery selectors and without using the JavaScript action.
for instance, with JS code we can do something close to:
1. element.next('a')
- element:contains(SomeContent).next('a')
+ whatever we wish to do with jQuery
if we can't do it with custom selectors, would I be able to use that run JavaScript action with jQuery?
Any ideas?