Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This function finds and returns an input element to the left of the given element.  If no element is found, null is returned.

Parameters:

  • element - the starting element

Example:

Code Block
javascript
javascript

var previousElement = getLeft(someElement);