EXTJS Fileupload - Problem with IE8 security bar

后端 未结 4 1079
迷失自我
迷失自我 2021-01-16 06:46

I\'m trying to make an EXTJS application to send email with an attachment. So I have a very basic form that include textfield for the subject, another textfield with inputT

4条回答
  •  失恋的感觉
    2021-01-16 07:11

    On the server side, you MUST do the following, even though it looks a bit odd:

    • set the response type to "text/html"
    • send {"success": true} as JSON object

    the response type makes the browser render the response in the iframe ExtJS uses ExtJS reads that from the DOM, and interprets it as JSON, looking for the success field.

提交回复
热议问题