title: How to preview changes made dynamically in javascript
body: <p>I am making a website where a user can change particular parts of their site. But before they can submit changes, I want them to be able to preview them. I have thought about taking the innnerHTML of the whole page and then editing that function. Maybe there is a way in which I can still search for &amp; make dynamic changes to the variable in which I have assigned to the innerHTML. Any thoughts on how I would go about doing this?</p>
  
  <p>EDIT</p>
  
  <p>To further explain what i mean:</p>
  
  <p>The user is able to update their webpage by changing images and text. The javascript code behind it will allow enable this. Similar to how a blog works. i want them to be able to preview the changes they make before they are able to commit these changes.</p>