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
Short answer: it's not posible. You have to POST it to server, and response from server can be "Content-disposition: attachment".