title: Refresh page after clearing all form fields (jquery)
body: <p>Is it possible to refresh the page after clearing all the form fields?  Is this a separate function or could it be added to my existing script.</p>
  
  <pre><code>function clear_form_elements(ele) {
   $(ele).find(':input').each(function() {
   switch(this.type) {
      case 'password':
      case 'select-multiple':
      case 'select-one':
      case 'text':
      case 'textarea':
          $(this).val('');
          $(this).removeAttr("style");
          break;
      case 'checkbox':
      case 'radio':
          this.checked = false;
  }
  });
  
  }
  </code></pre>