returning JSON response to a ajax call prompts file download containing the response
- by user200018
i am submitting a from using jQuery ajax, and server is returning json response. but instead of the script, parsing the json result, the browser is prompting me to download the json response.
I have had this problem before, where i forgot to return false at the end of the event handler. But this time im clueless why this is happening.
anyone has experienced this problem..
thanks