首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

extjs中Ajax中的request应用

2012-10-29 
extjs中Ajax中的request使用Ext.Ajax.request({url : contextpath+/fileManage.do?methodnewFolder,par

extjs中Ajax中的request使用

Ext.Ajax.request({url : contextpath+'/fileManage.do?method=newFolder',params : {filePath : node.id , folderName : w.getForm().getForm().getValues().name},callback : function(options ,success ,response){if(success){var r = Ext.decode(response.responseText);if(r){if(r.type == 0){}else if(r.type == 1){}else if(r.type == 2){} }else{Ext.Msg.alert('提示','新建目录失败!');}}else{Ext.Msg.alert('提示','新建目录失败!');}}});

?

热点排行