Function to load text from separate file and insert it into page?
I have a text file that contains a whole bunch of data points neatly formatted (it's basically a CSV file). I need to create a quick JS function that would load the CSV file (from a URL) and display it with in a page. No parsing is needed! I just need to suck down the file and insert/display it within two div tags.
How do I do that? :)
PS: Yes, I know that this can also be done through PHP but I'd like it to be client side.