I am using jquery.validate plugin. I have a html form inside jquery ui dialog. When user open the dialog and try to submit the form and if form contains validation error and at the same time if user close the dialog and when he open it again than validation messages are still there. I have created a fiddle also :
http://jsbin.com/aralur/4/edit
How to solve this issue ?