Hi,
I think i'm floggin a dead horse here, but maybe you guys can enlighten me.
I want to use AJAX to get a binary doc such as Word or Excel and print back to the browser in the same way you would normally do via a url using
is this possible, and if so how, I just get the square blocks appear in a floated div if I print the return from the call, now I know AJAX is meant to be text/XML that is returned, so I think i cannot do this, but would appreciate guidance if there is some clever trick you can do to make it work.
I don't want to have to issue a window.open command, but if needs be and it's the only way, so be it.
All input greatly appreciated.
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
I think i'm floggin a dead horse here, but maybe you guys can enlighten me.
I want to use AJAX to get a binary doc such as Word or Excel and print back to the browser in the same way you would normally do via a url using
Code:
Content-Disposition: attachment;
is this possible, and if so how, I just get the square blocks appear in a floated div if I print the return from the call, now I know AJAX is meant to be text/XML that is returned, so I think i cannot do this, but would appreciate guidance if there is some clever trick you can do to make it work.
I don't want to have to issue a window.open command, but if needs be and it's the only way, so be it.
All input greatly appreciated.
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!