How to fetch a file on a web server using JavaScript?
<p>I am trying to write a small documentation tool to be used from the browser. It would need to fetch source code files from a web server. What would be the appropriate way to fetch files from JavaScript itself and then read them so they can be parsed ? The file to be fetched is on a different web server. </p>

<p>thanks in advance,
vivekian</p>
