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