Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Highlight line of a textarea on mouse click

Reply
Thread Tools

Highlight line of a textarea on mouse click

 
 
Dan Williams
Guest
Posts: n/a
 
      07-02-2003
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.


 
Reply With Quote
 
 
 
 
Dan Williams
Guest
Posts: n/a
 
      07-02-2003
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.
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting with mouse-click highlighted text in textarea Bou Dramé Ruby 0 10-03-2008 08:02 PM
This code requires the user 2 click the mouse twice, how do i do itin just one mouse-click? Daniish Javascript 2 06-13-2008 08:41 PM
Heres a mouse theres a mouse what a mouse do? unholy Gaming 37 09-17-2006 08:59 AM
no text highlight in a textarea hijinks@gmail.com Java 5 05-09-2006 07:21 PM
how to highlight a row when on click and keep it highlighted until next click john woo Javascript 1 06-16-2005 01:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57