[jQuery] Write binary data from server is possible?

2008-06-26 Thread jgmaux
Hi, Sometimes, via AJAX, I'm getting binary content from a server (application/octet-stream), other times html-text. When server response with binary content (PDF, EXCEL, etc) I'like to send to user. It's possible This is my code: function CNMSubmitAjax(arguments,id_capa, extra_props)

[jQuery] Re: Write binary data (from server) is possible with Ajax?

2008-06-26 Thread jgmaux
Ttanks, Liam Sorry, my english language is very bad.. I'like to receive, via ajax, a binary data (application/octet-stream) from server. And I pass it to the browser for display download window dialog.. I suppose that document.write('...') function is only for a text / html