Home > Web Front-end > JS Tutorial > body text

Jquery ajaxStart() and ajaxStop() methods (explanation with examples)_jquery

WBOY
Release: 2016-05-16 17:08:30
Original
1041 people have browsed it

jQuery provides similar functions through the ajaxStart() and ajaxStop() methods. When an Ajax request is started and there are no other outstanding Ajax requests, the ajaxStart() method is called. Similarly, the ajaxStop() method is called when all Ajax requests are completed. The parameter of these methods is a function that will be called when the event occurs.

Example

Copy code The code is as follows:

< html xmlns="http://www.w3.org/1999/xhtml" >

Untitled page










                                                                    ​



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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!