title: jquery.validate.js - validate file name
body: <p>According to the documentation for the jquery.validate plugin here: <a href="http://docs.jquery.com/Plugins/Validation/Methods/accept#extension" rel="nofollow">http://docs.jquery.com/Plugins/Validation/Methods/accept#extension</a></p>
  
  <p>I can check the file extension of a file in order to validate the file extension, like so:</p>
  
  <pre><code>$("#myform").validate({
    rules: {
      field: {
        required: true,
        accept: "xls|csv"
      }
    }
  });
  </code></pre>
  
  <p>However this appears to have no effect on the field, I can still add any file to the field I like. The 'required' validation does work on the field and I have other fields on the page where the validation code works - however the 'accept' rule is just not being applied.</p>
  
  <p>JSFiddle showing the issue: <a href="http://jsfiddle.net/SCgRr" rel="nofollow">http://jsfiddle.net/SCgRr</a> </p>