Vapor
05-25-2005, 10:23 PM
I am creating a textarea with some text in it. Is there some kind of code I can throw in my html to make the search function search the textarea and highlight the word the person searches?
<form>
<center>
<input type=text name="Search" size=20><input type="submit" value="Search">
<p>
<textarea name="Text" cols=40 rows=8>This is a test</textarea>
</center>
</form>
for example, I would type in the word test in the search line and hit search and it would highlight the word in the textbox.
<form>
<center>
<input type=text name="Search" size=20><input type="submit" value="Search">
<p>
<textarea name="Text" cols=40 rows=8>This is a test</textarea>
</center>
</form>
for example, I would type in the word test in the search line and hit search and it would highlight the word in the textbox.