title: How do I load a resource in Javascript?
body: <p>I'd like to load something like a properties or XML file from within my JS (web page) (like including a .js file in the .html).</p>
  
  <p>Right now I have some resources included as &lt;script type="resources"&gt;blabla&lt;/script&gt; and locate these in the DOM, but I'd like to externalize the resources into an extra file. How can I access the contents in my JS?</p>
  
  <p>Searching for "resources" and JS only yields all kinds of C#/ASP questions.</p>
  
  <p>edit: tried escaping angle brackets, so you can actually see my example.</p>