GetWebId Method


PLB Web Only, 9.7C

 

The GetWebId method retrieves a specific CSS style for a PWS object which is implemented as a visible HTML object. The method uses the following format:

 

[label]

{object}.GetWebId

[GIVING {return}] USING [[*Flags=]{flags}]

Where:

Where:

{label}
Optional. A Program Execution Label.
{object}
Required. A PWS object type that is being accessed.
{return}
Optional. A Character String Variable that returns the HTML id attribute.
{Flags}
Optional. A decimal number or Numeric Variable that invokes special behaviors.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The EOS flag is set if the returned HTML id value string must be truncated before being stored into the {return} Character variable.

  2. The ZERO flag is always cleared.

  3. The OVER flag is always cleared.

  4. Detailed information regarding the HTML id attribute is available from

  5.  

    http://www.w3schools.com/tags/att_global_id.asp

     

  6. The optional {flags} bit mask values changes the execution behavior of the GetWebStyle method as follows:

  7.  

    Value

    Meaning

    0x01

    This bit value causes the CSS style to be obtained from the HTML <div> enclosing the {object} HTML object.

 

Example:

 

     LabelText1.GetWebId GIVING StrValue

 

 

See Also: Objects



PL/B Language Reference EnableJqEvent Method GetWebStyle Method