title: How to get type of user selected file with jQuery?
body: <p>How to get type of file that user  has selected (in some  <code>&lt;input type="file" name="datafile"&gt;</code>) with jQuery and for example <code>alert</code> it? At least its extention but some kind of grouped types like <code>image</code> would be grate. Is there any jQuery plugin for that?</p>