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.
thanks in advance, vivekian
Given your main url http://www.x.com/help.html , and the source files that are located at http://www.x321.com/src/ , you're going to create a proxy at http://www.x.com/proxy/ to http://www.x321.com/src/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.