getLeft( element )



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:

var previousElement = getLeft(someElement);