title: jQuery.validator cannot assign default ignore selector to jQuery.validator.defaults.ignore
body: <p>I know from <a href="https://stackoverflow.com/questions/379838/using-depends-with-the-jquery-validation-plugin/884455#884455">here</a> that I can pass an ignore option in the jQuery.validate method like this...</p>
  
  <pre><code>$('form').validate({
      ignore: ":hidden"
  });
  </code></pre>
  
  <p>... which works fine, but I wanted to set the validator to ignore ":hidden" form fields by default... I've tried the following:</p>
  
  <pre><code>jQuery.validator.defaults.ignore.push(":hidden");
  </code></pre>
  
  <p>... but it doesn't work.</p>
  
  <p>To hide the form fields I've wrapped them in a div and I hide the div; which by default has  "display: none" applied.</p>
  
  <p>Anyone have any ideas?</p>
  
  <p><strong>Edit:</strong> 
  I've been wondering after a bit of a look in firebug, whether the "not()" method in jQuery is not meant to be able to take an array... which is what the jQuery.validator.defaults.ignore property is, or is it something else? </p>
  
  <p><strong>Edit 2</strong>
  I've noticed that if I do this:</p>
  
  <pre><code>jQuery.validator.defaults.ignore = ":hidden";
  </code></pre>
  
  <p>it works... again, i think it might be that it is an array...</p>
  
  <p><strong>Results</strong>
  It seems that using the code in Edit 2 above is not unreasonable as when you assign 'ignore: ":hidden"' in the validate() method you are essentially doing the same things... What got me was that the item in the defaults is an array.</p>