1

I am trying upload a file(pdf/doc) type from iE 9 to server using jquery fileupload plugin , but when response from server is returned of type json object , IE is prompting me to open/save that file. I get this as a pop at the bottom of the IE 9, Not sure how to get ride of it.

Exact message is "do you want to open or save file from localhost".

1

1 Answer 1

1

I have had the problem in the past. The best solution i found wast to a. serialize your response as JSON, and return the json as plain, instead of json, then convert the return string to a json object when it gets back to the client.

Very possibly a better way to handle it, but this is what I have done int the past.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.