title: jQueryValidate - Required field - depends doesn't work
body: <p>With jQueryValidate, I'm trying to make a field required only if another specific field is empty. So, after searching on the Internet, I did this :</p>
  
  <pre><code>rules: {
       marque: {
            required: {
                 depends: function() {
                      if (($('#add_marque').val() == "Ajouter une marque" &amp;&amp; $('#marque').val() == -1) || ($('#add_marque').val() == "" &amp;&amp; $('#marque').val() == -1)) {
                           return true;
                       }
                       else {
                           return false;
                       }
                 }
            }
       }
  }
  </code></pre>
  
  <p>Unfortunately, it doesn't work. But, if I do this :</p>
  
  <pre><code>depends: function() {
       if (($('#add_marque').val() == "Ajouter une marque" &amp;&amp; $('#marque').val() == -1) || ($('#add_marque').val() == "" &amp;&amp; $('#marque').val() == -1)) {
            alert("Here!");
            return true;
        }
        else {
             return false;
        }
  }
  </code></pre>
  
  <p>The alert box appears. So, my test seems to work.
  Can anyone tell me what I did wrong?
  I'm using jQuery 1.8.3 and qTip2 with jQueryValidate.
  Thank you very much!</p>