=====
prior
=====

.. js:function:: prior() 

**domain**: client 

**language**: javascript

**class** :doc:`Item class </refs/client/item_api>`

Description
===========

Call ``prior`` to position the cursor on the previous record in the item dataset and 
make it the active record. last posts any changes to the active record.

See also
========

:doc:`Dataset </programming/data/dataset>`

:doc:`Navigating datasets </programming/data/navigating_datasets>`
