Home > Web Front-end > JS Tutorial > How to use actions of different namespaces in ajax

How to use actions of different namespaces in ajax

亚连
Release: 2018-05-25 15:48:48
Original
1734 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template