title: Validation on combobox when still nothing is selected
body: <p>I am trying to get a jquery validation working on a combobox when nothing is selected that a method gets triggered. So you select the filed but you do not choose anything and jump to the next field. Currently the method only gets triggered when I select something in the combobox but not when &quot;nothing&quot; is select (Please select)</p>
  <p>My comobox in html is that:</p>
  <pre><code>@Html.DropDownList(&quot;Collection&quot;,  new SelectList(Model.TableCollectionDevice.Where(x =&gt; x.persona == false), &quot;collection_id&quot; , &quot;collection_displayname&quot;), &quot;Please select&quot;,  new { @CssClass=&quot;ddl_collection&quot;, @id=&quot;ddl_collection&quot;, @class = &quot;form-control&quot; })
  </code></pre>
  <p>I assume the error is that &quot;Please select&quot; has no value like &quot;&quot; and that’s why it does not get triggered.
  My jquery looks like that:</p>
  <pre><code>$.validator.addMethod(&quot;selectComboboxCheck&quot;, function (value, element)
        {
            console.log(&quot;Test&quot;); // Just to see if something gets fired
            console.log($(element).find(&quot;:selected&quot;).val());
            if ($(element).find(&quot;:selected&quot;).val() == 0) {
                return false; 
            }
            else return true;
        },
        &quot;Required&quot;);
  
  $(document).ready(function () {
      $(&quot;#form_import&quot;).validate({
          errorPlacement: function errorPlacement(error, element) { element.before(error); },
          rules: {
              Collection:{
                  required : true ,
                  selectComboboxCheck: true
              
              },
  </code></pre>
  <p>Any idea how I can fire the method even nothing is selected?</p>
  <p>Thanks
  Stephan</p>
  <p>Edit: It seems with this line are get the correct focus:</p>
  <pre><code>$(&quot;select&quot;).blur(function () { $(this).valid() });
  </code></pre>