Home > Web Front-end > JS Tutorial > How to get the value returned by $.ajax() event and add the event in jquery_jquery

How to get the value returned by $.ajax() event and add the event in jquery_jquery

WBOY
Release: 2016-05-16 18:29:24
Original
939 people have browsed it

If you want to get the value returned in $.ajax(), it is not possible to use success:funciton(){return xx} directly. If you want to get the value of xx, you must use global variables in the script. Use global variables to derive the value of xx.

jquery gets the return value in the $.ajax event and adds the event

Copy code The code is as follows:



Test JQUERY submission of dynamic text













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