Is it possible to get absolute position of character in a textarea?
Asked
Active
Viewed 1,312 times
2 Answers
0
Yes, but it's much more complicated than it should be.
There is a demo demonstrating exactly this functionality, and the method used is discussed in this related question.
Community
- 1
- 1
Peter Olson
- 131,160
- 48
- 197
- 239
-1
Theoretically yes, it is possible, you need to simulate browser's text rendering! But that would be so complicated that I would never even start thinking about it :)
nobody
- 10,394
- 4
- 24
- 42