title: Trigger a Browser's Save-As Dialog via Javascript using only On-page data
body: <p>As part of my page's output, I'm including a CSV formatted version of a data table in a text area, so that the user can easily copy/paste a CSV export into their spreadsheet of choice.</p>
  
  <p>I would like a way to have a button that, when clicked, will trigger a Save-as dialog that will download the CSV contents already present in the textarea on the page.</p>
  
  <p>The intention is to avoid another trip to the database to get the CSV export, when it is already on the page, while providing the user a shortcut around having to create a new file and paste in the copied CSV.</p>
  
  <p>Is this possible?</p>