title: Jquery Clear Popup on Close
body: <p>I'm searching how to clear the contents of a popup on close.</p>
  
  <p>I basically have a page with contacts, of which the details can be shown by clicking on an icon in the list.</p>
  
  <p>So the same popup can be reused several times if I click on an icon several times.</p>
  
  <p>However, when I click a second time on the icon, the data from the previous user is still there. </p>
  
  <p>How can I clear that?</p>
  
  <p>This question is similar to <a href="https://stackoverflow.com/questions/1345584/jquery-clean-old-dialog">jquery clean old dialog</a> , however, there they are looking for how to clear the form contents...</p>