The official release of Ext.NET Mobile is now available. Ext.NET Mobile is an ASP.NET component framework for building Phone and Tablet specific mobile web applications. Read More

Cursor Position in a TextArea

  1. #1

    Cursor Position in a TextArea

    Hi all, I'd like to find out the Cursor Position in a TextArea. I need to insert some Text at this Position?

    Any Idea how to do that ?

    Peter
  2. #2
    Hello Peter!

    You can pull that out from the text field's inputEl using JavaScript resources. At first selectionStart should do, but if you need to support older browsers you may consider other ways, like suggested in this stackoverflow thread.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello Peter!

    Been a while since we last replied you and still no feedback. Do you still need help with this?

    We may mark this thread as closed in 7+ days from now if you don't post a feedback, but we don't lock up threads so you'll still be able to post here whenever you feel like.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 2
    Last Post: Mar 19, 2012, 12:08 PM
  2. Replies: 11
    Last Post: Feb 29, 2012, 4:57 PM
  3. Replies: 5
    Last Post: Feb 28, 2012, 12:23 PM
  4. [CLOSED] Cursor position
    By Pablo_Azevedo in forum 1.x Premium Help
    Replies: 1
    Last Post: Mar 23, 2011, 5:55 PM
  5. [CLOSED] Messagebox prompt set cursor position to end
    By jchau in forum 1.x Premium Help
    Replies: 5
    Last Post: Jan 20, 2010, 12:40 AM

Posting Permissions