title: Jquery Undo last change to DOM
body: <p>What is the easiest way to undo last change done to Dom. let's say i appended an image or div  or we made changes to any of the elements and i want to undo the last thing that affected the dom.</p>