DiviArea.Utils.getUrlParam()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.Utils.getUrlParam()
DiviArea.Utils.getUrlParam(paramName)

Returns a single URL param valuewith the given name.

If no paramName is given, returns the entire list of all params as object.

Params

paramName
(string, optional) The parameter to return.

Returns

Returns a string with the value of a single parameter, or an key-value object with all parameters of the current URL params.

Notes

No notes

Was this article helpful?

Related Articles