title: Javascript: Download data to file from content within the page
body: <p>setting is the following:
  I have a homepage where I display a diagram that has been constructed using comma seperated values from within the page. I'd like to give users the possibility to download the data as cvs-file without contacting the server again. (as the data is already there)
  Is this somehow possible? I'd prefer a pure JavaScript solution.</p>
  
  <p>So far I've discovered: <a href="http://pixelgraphics.us/downloadify/test.html" rel="noreferrer">http://pixelgraphics.us/downloadify/test.html</a> but it involves flash which I'd like to avoid.</p>
  
  <p>I can't imagine this question hasn't been asked before. I'm sorry to double post, but it seems I've used the wrong keywords or something - I haven't found a solution in these forums.</p>