<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      JQuyer $.post 與 $.ajax 訪問WCF ajax service 時的問題

      $.post('<%=this.AppPath %>DataService/InventoryUIService.svc/Rename', ///location.protocol + "http://" + location.host + location.pathname + "/Rename",
                                     odata,
                                       function (result) {
                                           $dialogProcessing.dialog("close");
                                           if (result.Success) {
                                               alert("Success");
                                           }
                                           else {
                                               var msg = "Your submit fauiler, Detail message is:" + result.ErrorMessage;
                                               window.alert(msg);
                                           }
                                       },
                                     "json");
                     $.ajax({
                         url: '<%=this.AppPath %>DataService/InventoryUIService.svc/Rename',
                         type: 'POST',
                         contentType: 'application/json',
                         dataType: 'json',
                         data: odata,
                         success: function (result) {
                             if (result.Success) {
                                 alert("Success");
                             }
                             else {
                                 var msg = "Your submit fauiler, Detail message is:" + result.ErrorMessage;
                                 window.alert(msg);
                             }
                         },
                         error: function (jqXHR, textStatus, errorThrown) {
                             var msg = "Your submit throw a error, \r\nError message is:" + $(jqXHR.responseText).text();
                             window.alert(msg);
                         }
                     });

       

      TCP Trace截圖

      $.post:

      image


      $.ajax:

      image

      感覺$.post是用來提交forms的,而要跟wcf ajax service訪問,還必須得用$.ajax來指定Content-Type.

       

      后來找到的資料: http://stackoverflow.com/questions/2845459/jquery-how-to-make-post-use-contenttype-application-json

      posted @ 2011-09-19 17:36  DukeCheng  閱讀(397)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 成在线人免费视频| 亚洲综合无码一区二区| caoporn免费视频公开| 亚洲成A人片在线观看的电影| 国产精品亚洲аv无码播放| 国产伦码精品一区二区| 亚洲乱码中文字幕久久孕妇黑人| 九九热精品在线观看| 国产色一区二区三区四区| 亚洲综合一区二区国产精品 | 杭锦旗| 亚洲精品日韩中文字幕| 视频一区视频二区视频三区| av资源在线看免费观看| 久久99精品国产麻豆婷婷| 精品精品亚洲高清a毛片| 国产性色的免费视频网站| 国产一区二区三区黄色片| 中文字幕一区二区三区久久蜜桃| 日韩精品无码去免费专区 | 国产黄色三级三级看三级| 亚洲人妻精品一区二区| 国产亚洲一区二区三区啪| 日韩精品国产另类专区| 久热视频这里只有精品6| 九九热视频在线观看一区| 国产一区二区三区不卡视频| 四虎成人在线观看免费| 国产av精品一区二区三区| 精品国产女同疯狂摩擦2| 久久精品国产免费观看频道| 国语偷拍视频一区二区三区 | 茶陵县| 亚洲人成人网站色www| AV喷水高潮喷水在线观看COM| 国产精品污www在线观看| 国产在热线精品视频99公交| 国产精品亚洲二区在线播放| 国产偷国产偷亚洲清高动态图| 精品国产粉嫩一区二区三区| 日本福利一区二区精品|