Skip to main content

ElementValue

Callable

  • ElementValue(ID: string, Value?: string): string

  • Handles the value of a HTML element. It sets the value of the element when the Value parameter is provided or it returns the value when the parameter is omitted


    Parameters

    • ID: string

      The id of the element for which we want to get/set the value.

    • optionalValue: string

      The value to give to the element (if applicable)

    Returns string

    • The value of the element (When no value parameter was passed to the function)