<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>HTML5 File API</title>
</head>
<body >
    

  <div>
    <form class="form-horizontal well">
      <legend>
        <h3>
          <div id="title">Subir Archivo CSV</div>
        </h3>
      </legend>
      <fieldset>
          <label for="csvFileInput"> <strong>CSV:</strong>
          </label>
          <input type="file" id="csvFileInput" onchange="handleFiles(this.files)"
          accept=".csv">
        </div>
      </fieldset>
    </form>
    <div id="output">
    </div>
  </div>
  <br>
  <br>
  <div id="myDiv"></div> 
  
  <!-- Le javascript
    ================================================== -->
  <!-- Placed at the end of the document so the pages load faster -->
  <script type="text/javascript" src="<?php echo base_url(); ?>/assets/js/jquery-3.1.1.min.js"></script>
  <script type="text/javascript" src="<?php echo base_url(); ?>/assets/js/read-csv.js"></script>
  

  </body>
</html>