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
I am trying to do this but i am getting fakepath
var path = $('input[type=file][name=fileone]').val();
alert(path);
path i am getting is C:\fakepath\django_files.ods
How can i get the actual path so i can send that to backend.
Help me for this i am ajax post methos