Skip to main content

ElementCreateDiv

Callable

  • ElementCreateDiv(ID: string): HTMLDivElement

  • Creates a new div element in the main document. Does not create a new element if there is already an existing one with the same ID


    Parameters

    • ID: string

      The id of the div tag to create.

    Returns HTMLDivElement

    • The created (or pre-existing) div element