cnjava
$.ajax({
                       type: "POST",
                       dataType:\'json\',
                       //防止IE8 中文乱码
                       contentType: "application/x-www-form-urlencoded; charset=utf-8",
                       url: ReturnUrl,//提交到的action地址
                       success: function(msg){
                         if(msg.success)
                            {
                                //保存回调函数使用的数据
                                XW_dialog.addData(\'callbackData\',msg.map);
                                //确认成功
                                XW_dialog.tips(msg.errorMsg, 3);
                                //刷新列表
                                reloadGrid();
                            }
                            else
                            {
                                XW_dialog.alert(\'\',msg.errorMsg);
                            }
                       }
                    });

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-08-11
  • 2021-11-22
  • 2021-11-06
猜你喜欢
  • 2021-11-22
  • 2021-10-20
  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2021-10-24
相关资源
相似解决方案