title: pass file path to django view using ajax post method
body: <p>I am using ajax to post data
  In form one file input is there
  I want to get the path of that file field and send it django view through ajax</p>
  
  <p>I am trying to do this but i am getting fakepath</p>
  
  <pre><code>var path = $('input[type=file][name=fileone]').val();
  alert(path);
  
  
  path i am getting is C:\fakepath\django_files.ods
  </code></pre>
  
  <p>How can i get the actual path so i can send that to backend.</p>
  
  <p>Help me for this
  i am ajax post methos</p>