Is the invalidity of jquery ajax related to your jquery introduction path?
This article is to share with you whether the invalidity of jquery ajax is related to your jquery introduction path, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Jquery needless to say, if you can read this article, you must know that jquery is the js framework.
People definitely need to use ajax more or less when working on a project.
If you use jquery's ajax, then you need to introduce jquery into the jsp page.
When you find that your jquery ajax is invalid, you might as well use fire bug to debug it, and you will find that the prompt "$" is not valid. Why is there such a prompt? The simple reason is that there is something wrong with the path you introduced into jquery.js.
So when you encounter this kind of problem, the first thing to do is to see if there is something wrong with your jquery path.
Jquery path:
The code is as follows:
JqueryAjaxDemo:
The code is as follows:
$.ajax ({
Type: "post"
Url: "customer/validateCustomerName.do?"
Data: "customername=" + customerNameValue
DataType: "html"
Success:function (returnData)
{
}
}
);
The above is whether the invalidity of jquery ajax is related to your jquery introduction path. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.