Toolbar Browser
3. Reference
Triggers
Controls
Variables
System Variables
Global Values
Functions
Text Functions
GetAltTags()
GetLinkText()
GetLinks()
GetHeading()
GetMetaDescription()
GetMetaKeywords()
GetPageDetails()
GetPageText()
GetPageTitle()
GetParam()
 

GetHeading() Function

Returns 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)%')"
    ></button>
    </control>
    </toolbar>
    </xml>


    Compatibility

      Requires ToolbarBrowser version 2.4.1 and above.