title: How to use input type='file' to read word documents
body: <p>Users can upload their ms word files, of which the text should be displayed on another page. My html and javascript(vuejs) is like this:</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;form&gt;
      &lt;input type='file' v-on:click='retrieve'&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>retrieve: function retrieve(e) {
      var asfarasicansee = e.target.files[0]
      console.log(asfarasicansee)
  </code></pre>
  
  <p>This will return some file info as described here in the getting info paragraph: <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file</a> </p>
  
  <p>The only other thing I could find was this from 2001 and it only works in Internet Explorer, but my other code doesn't work in Internet Explorer:
  <a href="https://snook.ca/archives/javascript/copying_from_mi" rel="nofollow noreferrer">https://snook.ca/archives/javascript/copying_from_mi</a></p>
  
  <p>Does anyone know how to work with MS word(or any other text editor) files? How do I retrieve the text from such documents?</p>