Difference between ./ and ~/

For the sake of completeness … Just path is a file or directory named path in the current directory. ./path is a file or directory named path in the current directory, with the directory spelled out. The dot directory . represents the current directory, and path is the name of the file or directory within … Read more

How to get full path of selected file on change of using javascript, jquery-ajax?

For security reasons browsers do not allow this, i.e. JavaScript in browser has no access to the File System, however using HTML5 File API, only Firefox provides a mozFullPath property, but if you try to get the value it returns an empty string: $(‘input[type=file]’).change(function () { console.log(this.files[0].mozFullPath); }); https://jsfiddle.net/SCK5A/ So don’t waste your time. edit: … Read more