My javascript code makes the following AJAX request to my node.js server:
var url = \'/node/download\';
var downloadRequest = new goog.net.XhrIo();
downloadReque
I implement similar async file generation features in some apps. The approach I take is a little more involved, but keeps your interface async.
This is invisible to the user, they will just need to wait for the second transaction to come back.