JQM, Jquery Form Plugin, and returning to original state

JQM, Jquery Form Plugin, and returning to original state

Trying to submit a form using Jquery Form Plugin. I can refresh the div with the original div upon submitting successfully, but I am loosing all JQM markup. What should I do so that it returns to the same original state before submitting the input?

  1. <script>
  2. $(document).ready(function () {
  3. var options = {
  4. target: '#audcontent',
  5. beforeSubmit: showRequest,
  6. success: showResponse 
  7.                  $('#audform').submit(function () {
  8. $(this).ajaxSubmit(options);
  9. return false;
  10. });
  11. });
  12. function showRequest(formData, jqForm, options) {
  13. var queryString = $.param(formData);
  14. return true;
  15. }
  16.         function showResponse() {
  17. alert('Password Changed') $('#audcontent').load('./ #audcontent');
  18. }
  19. </script>