Highlight line of a textarea on mouse click

Discussion in 'ASP General' started by Dan Williams, Jul 2, 2003.

  1. Dan Williams

    Dan Williams Guest

    Does anyone know if its possible to get the line number of a textarea form
    element when a user clicks on a specific line, and hence highlight it?

    If so, can you point me in the right direction of the code to do so.

    Many thanks

    Dan Williams.
     
    Dan Williams, Jul 2, 2003
    #1
    1. Advertising

  2. Dan Williams

    Dan Williams Guest

    Its OK, i've changed the textarea object to a select.

    However, is there anyway to show a horizontal scrollbar with a select
    option?

    Thanks again

    Dan


    "Dan Williams" <> wrote in message
    news:bduejt$47j$...
    > Does anyone know if its possible to get the line number of a textarea form
    > element when a user clicks on a specific line, and hence highlight it?
    >
    > If so, can you point me in the right direction of the code to do so.
    >
    > Many thanks
    >
    > Dan Williams.
    >
    >
     
    Dan Williams, Jul 2, 2003
    #2
    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. Davisro
    Replies:
    2
    Views:
    1,316
    Jim Corey
    Apr 23, 2004
  2. =?Utf-8?B?am9qb2Jhcg==?=
    Replies:
    1
    Views:
    4,093
    wwwtar
    Oct 2, 2006
  3. Bou Dramé
    Replies:
    0
    Views:
    174
    Bou Dramé
    Oct 3, 2008
  4. john woo
    Replies:
    1
    Views:
    145
  5. Daniish
    Replies:
    2
    Views:
    245
    Thomas 'PointedEars' Lahn
    Jun 13, 2008
Loading...

Share This Page