WebService调用

  <script type="text/javascript">
    //添加
    function fnAddYuFu()
    {  
      fnGetNum();//获得文本框的值的方法
    $.ajax(
     {
     url:"../WebService/WzqWebService.asmx/AddH_account_prePayment_mainAndList",
     type:"post",
     data:"{hp_string:'"+order+"',hpd_string:'"+dataTableDetail+"'}",
     dataType:"json",
     contentType:"application/json",
     success:function(result){
    alert(result.d);
   
    }
    });
    }

 

posted on 2013-07-08 23:18  朝着  阅读(144)  评论(0编辑  收藏  举报