$.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:
}
)
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn