getPrevId

returns the ID of an item which is positioned the specified step before the specified item

id getPrevId(id id,number step);

Parameters

ididthe item id
stepnumberthe step (by default, 1)

Returns

idthe item id
See also
Back to top