Documentation for a historical release of Infusion: 1.3
Please view the Infusion Documentation site for the latest documentation.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

fluid.byId

fluid.byId(id, dokkument)

Quickly retrieves an element, given its id.

Arguments

  • id {Object}: The id of the DOM node to find
  • dokkument {Document}: the document in which it is to be found (if left empty, use the current document)

Return Value

Element: if it exists or
null: if there are no elements with the given id

Reference

See also: fluid:fluid.jById