I am being asked to make a \"download\" button that downloads the contents of a textarea on the same page as a file, with the browser\'s \"Save As...\" dialog showing up. Co
There were some javascript libraries that did this kind of thing, via small embedded SWF file. For example this one.