Trigger a Browser's Save-As Dialog via Javascript using only On-page data
Solution 1:
I don't think it's currently possible to trigger save as without doing some sort of request back to the server, but it's possible to export data from a loaded page using a Data URI. Have a look at my answer to this similar question.