title: When retrieving a text file using jQuery, I get 404 not found, but the file should be there for sure?
body: <p>The directory has just the HTML file, the JavaScript file, and the file called <code>words.txt</code> holding a ton of words. On my computer, the code worked just fine - I ran a simple HTTP server with Python and jQuery was able to load the list perfectly. When I uploaded all the files to 000webhost to test, the <code>words.txt</code> wouldn't load. The Firefox error console says it's giving a 404 Not Found, even though I'm sure the file is there. I'm getting the file like this:</p>
  
  <pre><code>var wordList = [];
  $.get('words.txt', function(data){
      wordList = data.split('\r\n');
  });
  </code></pre>
  
  <p>On my computer with an HTTP Server, it'll work fine, but on the web host, it won't. Does it have something to do with this HTACCESS file? Should I be calling the file path for <code>words.txt</code> differently? It's in the same directory setup as it was on my PC, so I don't see why it wouldn't work on the host...</p>
  
  <p>edit: I've also tried looking at chmod permissions. Even when Read, Write, and Execute are checked for everything possible, it won't get the file.</p>