$.ajax(
{
type: "POST ",
url: "/MemberComment.aspx/GetOrderToBeCommentCount",
success: function(result) {
//ToDo:
}
)
JS does not report any errors when using it. This is the most depressing thing for me. Don't know what's wrong. .
5 minutes. . . 10 minutes. . . . 20 minutes. . . . .
From the C# code to the browser, troubleshooting problems one by one is OK.
The reason for the final problem is that it is OK to change it to the following, missing 2 attributes:
$.ajax(
{
type: "POST",
contentType: "application/json",
url: "/MemberComment.aspx/GetOrderToBeCommentCount",
data:"{a:'a'}",
success: function(result) {
//ToDo:
}
)