Highlight() FunctionHighlights one or more keywords on a page. Syntax:Highlight(text) Parameters: text - String containing one or more keywords to highlight on the current page Remarks:
Example: In the example below, the text entered in the query edit box is used as the input parameter. <xml id="toolbar"> <toolbar caption="Highlight() Example"> <control type="edit" id="%_QUERY%"> <control type="toolbar"> <button caption="Highlight" action="Highlight(query)"></button> </control> </toolbar> </xml> Note the use of the underscore(_) in the variable name to prevent URL encoding of the value. |