title: How to get the path of selected folder in javascript or node js
body: <p>I want to get the path of selected folder. Here is my code:</p>
  
  <pre><code>&lt;input style="display:none;" id="fileDialog" type="file" webkitdirectory /&gt;
  
  var chooser = document.querySelector('#fileDialog');
      chooser.addEventListener("change", function(evt) {
        console.log(this.value);
      }, false);
      chooser.click(); 
  </code></pre>
  
  <p>Using this code i'm getting a fakepath.</p>
  
  <p>Is there anyway in node.js,so i can get the path of my selected folder.
  I'm using express framework in node.js.</p>