How to stop browser to download "application/json" AJAX response as a file

Posted by codemeit on Stack Overflow See other posts from Stack Overflow or by codemeit
Published on 2010-06-17T22:11:43Z Indexed on 2010/06/17 22:23 UTC
Read the original article Hit count: 139

Filed under:
|

My firefox downloads the JSON response of an AJAX call as a file. It's suppose to be handled by the JavaScript i.e. JSON object. Can anyone explain how to stop this behavior or there is something I am missing.

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about browser