<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); } }); }