Revisions for Drupal7.x javascript function after ajax - ajax invoke

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Google