How can I set content-disposition = attachment
via javascript?
Basically, I would like to force a "SaveAs" operation after a page has loaded via Javascript, using Firefox.
How can I do this ?
See Question&Answers more detail:osHow can I set content-disposition = attachment
via javascript?
Basically, I would like to force a "SaveAs" operation after a page has loaded via Javascript, using Firefox.
How can I do this ?
See Question&Answers more detail:osContent-Disposition is a response header, ie. the server must return it. You can't achieve this with client-side javascript.