开发者

Absolute position of character in textarea

Is it possible to get absolute开发者_高级运维 position of character in a textarea?


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.


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 :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜