Visit Mozilla.org

XUL:Method:getPreviousItem

From MDC

« XUL Reference home

getPreviousItem( startItem, delta )
Return type: element
This method returns the item a given distance (delta) before the specified startItem, or null if no such item exists. This example will return the item five rows before someItem: getPreviousItem ( someItem, 5 );