How to highlight (change background color) of selected text within a text area

Discussion in 'Javascript' started by omidalavi@yahoo.com, Sep 23, 2005.

  1. Guest

    I want to create a functionality to be able to highlight - change
    background color - of selected text in a text area. I also want to
    capture all of the selected text for further processing.

    If this is not possible in a textarea, then I use another element (like
    a <DIV>)

    basically I need to ba able to highlight multiple sections of a text
    and then display all of the highlighted text somewhere else.
     
    , Sep 23, 2005
    #1
    1. Advertisements

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. Matt Adams
    Replies:
    0
    Views:
    1,077
    Matt Adams
    Aug 26, 2003
  2. UJ
    Replies:
    1
    Views:
    328
    Olaf Rabbachin
    Nov 1, 2006
  3. Todd
    Replies:
    3
    Views:
    874
    Michael Jung
    Aug 30, 2007
  4. fig000
    Replies:
    0
    Views:
    4,744
    fig000
    Sep 6, 2004
  5. Karen Grube
    Replies:
    7
    Views:
    1,936
  6. Replies:
    7
    Views:
    644
    Mick White
    Feb 2, 2005
  7. libsfan01
    Replies:
    2
    Views:
    226
    Hal Rosser
    Apr 14, 2006
  8. Replies:
    1
    Views:
    486
    marss
    Feb 14, 2007
Loading...