title: Form reset using jQuery Validate plugin with Select2?
body: <p>I am using jQuery Validate to validate my form. And inside form have tag select, my select using <code>select2</code> jQuery. I have problem when I clear my from it's make my <code>select2</code> change required field. How to using validate with select2 work fine?</p>
  
  <p>My Code:</p>
  
  <pre><code>$(document).ready(function () {
  //validate form
  $(".form_required").validate({
      highlight: function (element, errorClass, validClass) {
          $(element).parents('.form-control').removeClass('has-success').addClass('has-error');     
      },
      unhighlight: function (element, errorClass, validClass) {
          $(element).parents('.form-control').removeClass('has-error').addClass('has-success');
      },
      errorPlacement: function (error, element) {
          if (element.hasClass('select2') &amp;&amp; element.next('.select2-container').length) {
              error.insertAfter(element.next('.select2-container'));
          } else {
              error.insertAfter(element);
          }
      }
  });
  
  $('.select2').select2({
      allowClear: true,
      placeholder: ""
  }).on("change", function (e) {
      $(this).valid();
  });
  });
  
  function clear(){
     $("#myformHeader select").val('').trigger('change');
  }
  </code></pre>
  
  <p>My HTML:</p>
  
  <pre><code>&lt;form name="myformHeader" id="myformHeader" class="form-horizontal form_required"&gt;
      &lt;select type="text" name="ddl" id="ddl" class="form-control select2" required&gt;
         &lt;!-- many option --&gt;
      &lt;/select&gt;
      &lt;select type="text" name="ddl2" id="ddl2" class="form-control select2" required&gt;
         &lt;!-- many option --&gt;
      &lt;/select&gt;
      &lt;button  type="button" onclick="clear()"&gt;Reset&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>When click button reset show required like this. I don't want to show this for clear
  <a href="https://i.stack.imgur.com/fx11f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fx11f.png" alt="enter image description here"></a></p>