|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Actually my task is having one text box,button and a textarea.When a user enter a text in the textbox and click the button for search the particular text in the txtarea,the corresponding text should be highlighted.
How can i do this with javascript. can u help me... Thank u |
|
#2
|
||||
|
||||
|
moved...
|
|
#3
|
||||
|
||||
|
Use this script as your base - and replace the document selection portion with textarea.value. The same logic applies.
|
|
#4
|
|||
|
|||
|
javascript error
Actually my task is having one text box,button and a textarea.When a user enter a text in the textbox and click the button for search the particular text in the txtarea,the corresponding text should be highlighted.
How can i do this with javascript. can u help me... |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Highlighting text within a textarea in javascript |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|