如图,ajax带参数调用webService时的发送数据时为什么是 var poststr = "name=" + $("text1").value;而不是 var poststr = $("text1").value
前面那个是拼装的参数,因为你后台是name,所以需要传递参数过去才行。