Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2290441
  • 博文数量: 266
  • 博客积分: 5485
  • 博客等级: 大校
  • 技术积分: 3695
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-20 11:05
个人简介

多读书,多做事,广交朋友,趣味丛生

文章分类

全部博文(266)

分类: 系统运维

2011-04-07 10:58:50

你asp的路径,
params:{
    BudgetName:budgetName,
            StartDate
:
    new Date(startDate).format('Y-m-j'),
            EndDate
:
    new Date(endDate).format('Y-m-j'),
            BookSetId
:
    bookSetId
}
,
method:'POST',
        waitMsg
:
"正在存储,请稍侯...",
        success
:
function(response, options) {
    var response = Ext.util.JSON.decode(response.responseText);
    if (response.success == 'true') {
        Ext.Msg.alert("提示信息", '   存储成功!   ');
        store.reload();
        grid.reconfigure(store, cm);
        winAdd.close();
    }
else {
        Ext.Msg.alert("提示信息", '不能添加模板信息!请检查模板名称是否重复!');
    }
}
,
failure:function() {
    Ext.Msg.alert('提示信息', '   操作失败!   ');
}
})
;//end for ajax

阅读(2841) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~