PDA

View Full Version : Download Json Response



nashrulez
27 Aug 2013, 2:11 PM
Hi All,

I have a Json response which I have obtained from a Ajax request . Now I have a download button when clicked should allow me to download this json response. Can anyone tell me how I can proceed with this. The thing is I can't make another ajax request when I click the button. The response is already received and I need it to make as a downloadable file.

Thanks in advance.

existdissolve
27 Aug 2013, 4:34 PM
Take a look here: http://stackoverflow.com/questions/2897619/using-html5-javascript-to-generate-and-save-a-file