title: Access CSS file contents via JavaScript
body: <p>Is it possible to get the entire text content of a CSS file in a document? F.ex:</p>
  
  <pre><code>&lt;link rel="stylesheet" id="css" href="/path/to/file.css"&gt;
  &lt;script&gt;
      var cssFile = document.getElementById('css');
      // get text contents of cssFile
  &lt;/script&gt;
  </code></pre>
  
  <p>I’m not really into getting all the CSS rules via document.styleSheets, is there another way?</p>
  
  <p><strong>Update:</strong> There is the ajax option of course, I appreciate the answers given. But it seems rather unnecessary to reload a file using ajax that is already loaded in the browser. So if anyone knows another way to extract the text contents of a present CSS file (NOT the CSS rules), please post!</p>