By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

Highlight line of a textarea on mouse click

P: n/a
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.
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <da**********@newcross-nursing.com> wrote in message
news:bd**********@titan.btinternet.com...
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.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.