The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML element by index
#1
Hello,

Need some help getting an Index number of an HTML element text...then getting subsequent index of that same element text, and Navigating + or - from there to get more text. 

Example:

Find index of first "22" in a page..then get text left or right of that.
Then, find index of next "22" and get text left or right of that.
And so on.


I'm trying to do it by index since search time is so much faster but don't know best(fastest) way to get the index number.

Any ideas?

Thanks


Messages In This Thread
HTML element by index - by robj - 04-24-2018, 05:03 PM
RE: HTML element by index - by Gintaras - 04-25-2018, 09:22 AM
RE: HTML element by index - by robj - 04-27-2018, 08:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)