MDN wants to learn about developers like you:

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 <var>someItem</var>: getPreviousItem ( someItem, 5 );

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Ptak82, Dria
 Last updated by: Sheppy,