Syspons SurveyXact Library Documentation - v1.0.7
    Preparing search index...

    Function loadForSpan

    • Loads a string for a specific property. The property needs to be set as an id for an empty span tag where the string should appear:

      The string will be displayed here: <span id="example_property_name"></span>
      

      You can add the following line to the expression inside of the survey site.

      ssxlib.monitoring_toolbox.loadForSpan('the_entity', " + [background/background_variable_holding_the_id] + ", 'example_property_name');
      

      Parameters

      • entity: string

        The entity to which the survey is connected.

      • id: string | number

        The ID of the specific entity.

      • property: string

        The property you want to receive.

      Returns void