# rich

## Function element

- Signature:
    `java.lang.String element(java.lang.String)`
  Description:

    The rich:element('id') function is a shortcut for the equivalent document.getElementById(#{rich:clientId('id')}) code. It returns the element from the client, based on the passed server-side component identifier. If the specified component identifier is not found, null is returned instead.

- Function Information
  Info | Value
  --- | ---
  Function Class | `org.richfaces.function.RichFunction`
  Function Signature | `java.lang.String element(java.lang.String)`
  Display Name | None

Output generated by Vdldoc View Declaration Language Documentation Generator.