title: remove jquery validation error message after select value
body: <p>I have a problem using bootstrap select plugin and jQuery validation. when i select value, error message <code>This field is required</code> not remove While normal validation(without bootstrap select plugin) after select value error message auto remove. how to fix this problem?</p>
  
  <p><a href="http://jsfiddle.net/8FkA4/8/" rel="noreferrer">JSFIDDLE</a></p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form id="myform"&gt; &lt;----With Select Plugin
      &lt;select name="year" class="selectpicker"&gt;
          &lt;option value=""&gt;Year&lt;/option&gt;
          &lt;option value="1"&gt;1955&lt;/option&gt;
          &lt;option value="2"&gt;1956&lt;/option&gt;
      &lt;/select&gt;
      &lt;br/&gt;
      &lt;input type="submit" /&gt;
  &lt;/form&gt;
  &lt;form id="myform1"&gt; &lt;----Without Select Plugin
      &lt;select name="fruit"&gt;
          &lt;option value=""&gt;Year&lt;/option&gt;
          &lt;option value="1"&gt;1955&lt;/option&gt;
          &lt;option value="2"&gt;1956&lt;/option&gt;
      &lt;/select&gt;
      &lt;br/&gt;
      &lt;input type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$(document).ready(function () {
      $('.selectpicker').selectpicker();
  
  
      $('#myform').validate({ // initialize the plugin
          ignore: [],
          rules: {
              year: {
                  required: true
              }
          },
          errorPlacement: function(error, element) {
              if (element.attr("name") == "year") {
                error.insertAfter(".bootstrap-select");
              } else {
                error.insertAfter(element);
              }
          },
          submitHandler: function (form) { // for demo
              alert('valid form submitted'); // for demo
              return false; // for demo
          }
      });
  });
  // just for the demos, avoids form submit
  jQuery.validator.setDefaults({
  debug: true,
  success: "valid"
  });
  $( "#myform1" ).validate({
  rules: {
  fruit: {
  required: true
  }
  }
  });
  </code></pre>