使用Ext的ajax请求程序范例

This is the programming paradigm of ajax request via the Ext method implemented. And use the r.responseText attribute to get response.

 

render: function(w) {
                Ext.Ajax.request({
                    url: 'helpContentProvider.do',
                    success: function(r) {
                        w.body.dom.value = r.responseText;
                    }
                });
            }
 

Wish successful try!

你可能感兴趣的:(Ajax,ext)