我需要在文本区域中突出显示搜索词。
我有一个文本字段、搜索按钮和文本区域。
引用...
否则,如果与文本区域中的突出显示搜索词有关的任何帖子也值得赞赏。
请指导我如何实现这一点。
我有一个文本字段、搜索按钮和文本区域。
引用...
After i have enter the search string in the text field whenever i click the search button it highlight the search terms which is available in the text area and focus the search term in text area.
I have try to do this by using jquery.
But in mozilla,I can't get the focus to the search term at the time of search.
I have to scroll down the text area for find the focused search term.
In I.E. also it doesn't work properly.
否则,如果与文本区域中的突出显示搜索词有关的任何帖子也值得赞赏。
请指导我如何实现这一点。