如何在sencha touch 2.0.0中上传和存储图像

时间:2012-04-16 07:06:25

标签: sencha-touch-2

我需要开发一个应用程序,在这个应用程序中,我需要上传并将上传的图像存储在服务器上。我在表单面板上看到我没有看到我在html中使用的上传字段。 请尽快回复。

提前感谢。

1 个答案:

答案 0 :(得分:0)

我已经使用以下示例在ST1.1中成功上传了编码字符串。

Ext.Ajax.request({
    url: 'page.php',
    params: {
        id: 1
    },
    success: function(response){
        var text = response.responseText;
        // process server response here
    }
});
相关问题