DiviArea.getArea()

  1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Functions
  6. DiviArea.getArea()
DiviArea.getArea(id)

// Alias:
DiviArea.Data.getArea(id)

Returns the area that is associated with the ID.

Params

id
(string|jQuery, required) The Area ID (or an alternate ID of the Area), or the jQuery element of an Area.

Returns

Returns a DiviAreaItem object for the requested Area. When no Area with the given ID exists, the return value is false

Notes

No notes

Was this article helpful?

Related Articles