I found the following post: How do I export html table data as .csv file?
I've given the first example a try ("Option 1") and it's great... it pops up a window with all my data in CSV format, but I need to give my users an option to actually save a physical file with the data... not just the pop up window.
I'm wondering how I can modify the code to also allow for saving of the file?