[RESOLVED] How to set location in textarea
I have 21 lines in a textarea visible and there are over a thousand lines in it. If my script finds something for the user in line 520, is there a way to set the scrollbar so only lines 510-530 are initially visible?
AFAIK this is not possible.
Originally Posted by wbport
However, why not just display the lines of interest to the user rather than all 1000?
If you know where they are, why not just display those of interest?
I was hoping to avoid that and let the user see the lines before or after as needed. The thought just came to me I could open a new window, highlight a line, and scroll to it. Will need to experiment on that one first though.
Thanks for looking at it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread