Any idea's about a javascript function, that will move you to specific line number in a textarea? I'm making a mini-page where I can edit text/perl files on a server. I want to be able to plug in the line number that causes the error, hit go, and have the javascript automatically bring me to the line of the file that's loaded in the textarea. If you have any ideas, please, let me know.
Comatose
290
Taboo Programmer
Team Colleague
Recommended Answers
Jump to PostNo. This is because the contents of a textarea will "flow" based upon screen resolution, browser-window size, etc. Perhaps I'm misunderstanding the situation, if so, please clarify.
Jump to PostSomething like on this page: http://www.nsftools.com/misc/SearchAndHighlight.htm
You have to make extensive use of JavaScript's string functions, such as indexOf, lastIndexof.
All 5 Replies
tgreer
189
Made Her Cry
Team Colleague
Comatose
290
Taboo Programmer
Team Colleague
tgreer
189
Made Her Cry
Team Colleague
Comatose
290
Taboo Programmer
Team Colleague
tgreer
189
Made Her Cry
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.