I m using a dialog on which jquery validation is performed like required,email etc.
On click of a button my dialog appears as a popup and error messages are shown, but when i close my dialog and open it once again the previous error messages are shown until i interact with my controls.
So i want, is to refresh the dialog or reset the validation messages so whenever i open my dialog it comes as without the previous error messages.
Thanks in advance.