title: How to upload a file using a simple jquery-ajax call
body: <p>I am searching for a <strong>simple</strong> client-side script to upload a file using ajax. 
  Searching for the web for this script only brought up a lot of plugins with multi-features. I don't need multi-feautres - just to be able to upload it as simple as possible using ajax</p>
  
  <p>Is it possible to write something simple as:</p>
  
  <pre><code>$.get('server/upload.php?file = ' + $('#uploadInput').val(), function(data) {
     $('.result').html(data);    
   });
  </code></pre>
  
  <p>If it is possible - how should I write it right (<code>$('#uploadInput').val()</code> won't give me the right directory path - so what do I need to do to pass the location using Ajax).</p>
  
  <p>aside from that - in order to get drag&amp;drop for files - Is there a simple script for that or do I need to use plugin (and is there a really tiny and simple one without multi-features)</p>