DiviArea.Utils.getLocalData()

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

Retrieve previously stored information from localStorage or a Cookie.

Params

key
(string, required) ID/Key of the data entry/cookie.

Returns

A string with the previously saved value, or false if no value was found (or it expired).

Notes

No notes

Was this article helpful?

Related Articles