Skip to content

Global Ajax events work only with document #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AurelioDeRosa opened this issue Apr 22, 2014 · 3 comments
Closed

Global Ajax events work only with document #479

AurelioDeRosa opened this issue Apr 22, 2014 · 3 comments
Assignees

Comments

@AurelioDeRosa
Copy link
Member

Hello.
All the global Ajax event handlers have the following note:

As of jQuery 1.8, the .ajaxStart() method should only be attached to document.

I want to focus on the word "should" which is not valid anymore. While this was true for jQuery 1.8, in newer versions of jQuery you can only listen for these events on document. Therefore the documentation should be updated with an integrative note (at least this is my opinion).

This issue is related with #118.

@AurelioDeRosa AurelioDeRosa changed the title Global Ajax events works only with document Global Ajax events work only with document Apr 22, 2014
@AurelioDeRosa
Copy link
Member Author

To fix this issue I propose to create a global note that is added to all Ajax global event. Any thoughts?

@dmethvin
Copy link
Member

Agreed.

@arthurvr
Copy link
Member

Sounds good to me 👍

@AurelioDeRosa AurelioDeRosa self-assigned this Jul 20, 2015
AurelioDeRosa added a commit to AurelioDeRosa/api.jquery.com that referenced this issue Aug 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants