-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
Am trying to do, text highlighting..
If i enter a word in one textbox, the occurence of word in another textbox should be highlighted.
Even if there are multiple occurences.
I know this can be done with label/button and Johann's jquery-highlight plugin.
Since i need onSelection event to be captured, i can use only textbox..
Because only input elements supports onSelection .
Is there any way to do this?
Thanks,
Sowmiya.M
@Siva Kumar - Thanks for your reply. This is what am trying to do.
<textbox id="textTobeHighlighted"> <attribute name="onOK"> String toHighlight = textTobeHighlighted.getValue(); /*code to highlight all the occurences of "toHighlight" in textbox "text"*/ </attribute> </textbox> <textbox id="text" multiline="true" rows="10" ></textbox>
Asked: 2012-02-11 06:33:15 +0800
Seen: 120 times
Last updated: Feb 11 '12