GetHeading() FunctionReturns all heading text on the current page. Syntax:GetHeading(tag) Parameters tag - Heading tag. The valid values are h1, h2, h3, h4, h5 or h6 Example: This example displays the text of H1 and H2 heading tags on the current page, when the VIEW button is clicked. <xml id="toolbar"> <toolbar caption="GetLinkText() Example"> <control type="toolbar"> <button id=text caption="View" action="SetText('h1: %GetHeadig(h1)%<br>h2: %GetHeadin(h2)%')" </control> </toolbar> </xml> Compatibility Requires ToolbarBrowser version 2.4.1 and above. |