0

I have a HTML page which is structured in two parts (div), a header and a container part in which some text is displayed. The text in the container part is large, and it is scrollable. I need to get the exact same text displayed on the window and to perform some actions on the displayed text, such as highlight an element. I have found something about getting the scroll position, but what I need is the actual content starting at that position. It is possible to obtain that? Thanks.

georgiana_e
  • 1,809
  • 10
  • 35
  • 54

0 Answers0