title: Jquery file upload plugin: how to validate files on add?
body: <pre><code>$('#fileupload')
      .fileupload({
          acceptFileTypes: /(\.|\/)(jpg)$/i
      })
      .on('fileuploadadd', function (e, data) {
          console.log(data.files.valid); //undefined
          setTimeout(function () {
              console.log(data.files.valid); //true or false
          }, 500);
      })
  ;
  </code></pre>
  
  <p><a href="http://jsfiddle.net/XcgfA/1/" rel="noreferrer">jsFiddle</a> <br><br>
  How to get boolean value of property <code>data.files.valid</code> without timeout ?</p>