==== post ==== .. js:function:: post() **domain**: client **language**: javascript **class** :doc:`Item class ` Description =========== Writes a modified record to the item dataset. Call post to save changes made to a record after :doc:`append `, :doc:`insert ` or :doc:`edit ` method was called. The ``post`` method * checks if an item is in edit or insert :doc:`state ` , otherwise raises exception * triggers the :doc:`on_before_post ` event handler if one is defined for the item * checks if a record is valid, if not raises exception * If an item has :doc:`details ` , post current record in details * add changes to an item change log * puts the item into browse :doc:`state ` * triggers the :doc:`on_after_post ` event handler if one is defined for the item. See also ======== :doc:`Modifying datasets `