setSelectionRange on textarea failing in moz

Discussion in 'Javascript' started by Jim Higson, Mar 15, 2005.

  1. Jim Higson

    Jim Higson Guest

    Does anyone have experience of this? It seems to fail whenever
    setSelectionRange is called on a textarea.

    The exception:

    Error: uncaught exception: [Exception... "Component returned failure code:
    0x80004005 (NS_ERROR_FAILURE)
    [nsIDOMNSHTMLTextAreaElement.setSelectionRange]" nsresult: "0x80004005
    (NS_ERROR_FAILURE)" location: "JS frame ::
    http://localhost/wysi2/editing.js :: start_editing :: line 66" data: no]

    --
    Jim
     
    Jim Higson, Mar 15, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Terry
    Replies:
    1
    Views:
    377
    mark | r
    Jan 7, 2004
  2. Augustus
    Replies:
    1
    Views:
    398
    Ken Schaefer
    Sep 10, 2003
  3. Textarea Inside of a textarea

    , Feb 4, 2006, in forum: ASP General
    Replies:
    6
    Views:
    362
    Anthony Jones
    Feb 5, 2006
  4. Replies:
    1
    Views:
    357
    Bart Van der Donck
    Jul 4, 2007
  5. Tim Streater

    setSelectionRange and friends

    Tim Streater, May 29, 2009, in forum: Javascript
    Replies:
    35
    Views:
    558
    Garrett Smith
    May 31, 2009
Loading...

Share This Page