StripHTML() FunctionRemoves HTML tags from the value of a specified control. Syntax:StripHTML(id) StripHTML(id,source) Parameters: id - control id source - string to remove HTML tags from (optional). Remarks:
Returns: The output of the StripHTML() function is copied to the value of the control specified in the id parameter. Example: In this example, the visible text of the current page is displayed in the current browser window. <xml id="toolbar"> <toolbar caption="StripHTML() Example"> <control type="toolbar"> <button id=text caption="Show PageText" action="StripHTML(this,$SOURCE); SetText('Source: %TEXT%')" </control> </toolbar> Compatibility: Requires ToolbarBrowser version 2.3.3 or later. The optional source parameter requires version 2.3.5 or later |