Playing with ifames in designMode = "on"
Here is the code snippet:
Code returns the correct position IF the text inside consists a single line.
Problem is multiline content. If you put something like:
and put the cursor at a random position, and click the CurPos button, it returns sometimes the position of the cursor in that particular line, or sometimes some random number.
How can I get the cursor position at whole text?
Thanks.