我有这个简单的网络服务
<WebMethod()> _
Public Function HelloWorld() As String
Return "[1255545454545,4]"
End Function
这将在客户端 >
$.ajax({
type: "POST",
url: "WebService1.asmx/HelloWorld",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(response) {
alert(response);
},
failure: function(msg) {
alert(msg);
}
});
});
我怎样才能拥有真正的价值而不是我得到的 [object object]