If you are going to replace the page with whatever comes back from an Ajax call, PDF or otherwise, what's the point of using Ajax rather than just going to the page? [ May 16, 2007: Message edited by: Bear Bibeault ]
Joined: Oct 30, 2009
My program is a simple one which takes a string and converts it to a barcode and then returns pdf file with that barcode as response.
I want to open a save as box on the browser for the user to save this barcode pdf file.
This is what I am doing:
I am using ajax for this.
but the response does not open a save as dialogue instead it shws whatever was returned as text.