Home > Article > Web Front-end > How to use actions of different namespaces in ajax
This article mainly introduces how ajax uses actions of different namespaces. Friends who need it can refer to
How ajax uses actions of different namespaces
For example, my question_save is named in /question space, then my ajax url is written as: "../question/question_save.aciton"
If I map aciton to html, then it must be written as
ajax url: ".. /question/question_save.html"
This is my lesson, a very deep lesson, especially when ajax always appears. How to use actions
and the requested resource in different namespaces? is not available.
The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.
Related articles:
Compatibility issues of downloading files under the FireFox browser during the Ajax request process
How to solve the problem that error error always pops up when ajax returns verification
Manually solve the problem of WordPress WP-PostViews not counting through Ajax
The above is the detailed content of How to use actions of different namespaces in ajax. For more information, please follow other related articles on the PHP Chinese website!