codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Cursor position line number in firefox.  kshetty at 08:33 on Tuesday, June 12, 2007
 

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.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  reading and sending a msg through tcp socket
•  SEAMONKEY-onfocus
•  Cursor position line number in firefox.
•  oops perl
•  Validaing User Id using JSP and Servlet
•  IMPLEMENT JAVABEANS IN JSP
•  Re: Can anyone please help me, html table to access.
•  disabling submit after clicking once
•  Win32::Perms and ACL order


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007