title: read the excel file from the directory not from the address that you given
body: <p>I am using html5 and javascript. I want to read the Excel file which is chosen by the user from the directory (using a file dialog) but all I know is to read an excel file by the given path:</p>
  
  <pre><code>function readdata(y,x) {
      try {
          var excel = new ActiveXObject("Excel.Application");
          excel.Visible = false;
          var excel_file = excel.Workbooks.Open("D:\\Test.xls");
          //  alert(excel_file.worksheets.count);
          var excel_sheet = excel_file.Worksheets("Sheet1");
          var data = excel_sheet.Cells(x, y).Value;
          //alert(data);
          drawWithexcelValue(data);
      }
      catch (ex) {
          alert(ex);
      }
      return data;
  }
  </code></pre>
  
  <p>This is what I have to read the excel file. Can any one help me to read a file by directory, or without giving the path of the file. I would also like to know how to show output from that.</p>
  
  <p>Thanx in advance</p>