|
Hi All,
I am new into java programming. Currently I am working on a java application, in which I have a textarea. The user at any moment can change the font size and type in the textarea. Now here I need to get the cursor line position i.e. the line number in which cursor is situated. I am able to get the line number for IE using boundingTop, boundingLeft property in javascript. But the same property if I am not wrong is not supported in Firefox. I have also tried solution like searching number of \n in the textarea value, but since I am using auto wrap it does not add \n for new line text. Can anyone please help me with this, some idea regarding the same.
Thanks & Regards,
Kishore.
|
|
|
|
|
|
|
// |