jquery / jquery/learn.jquery.com

Grow "Ajax Events" section into discussion of global Ajax handling

Open
#62 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Chapter: ajax Chapter: plugins content
Dominant language
JavaScript
Stars
915
Forks
471
PR merge metrics
No merged PRs in 30d

Description

ajax/ajax-events.md
From @addyosmani: "This is another example of where pulling in examples we have in the API site would really help. Even if we were to just take out the code snippets from http://docs.jquery.com/Ajax_Events and add a lot more narrative around them to explain things that would be better than what we have right now. "

This should just grow to discuss how to handle ajax globally - with both ajax events, as well as prefilters, transports and converters. The content from ajax/ajax-and-forms.md from @connormontgomery about prefilters should be moved here.

In addition, discussion of using your own app-level request mediator instead of just trying to do everything through jQuery's events should probably be here as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ajax/ajax-events.md and ajax/ajax-and-forms.md, then compare their coverage with the Ajax Events API material at docs.jquery.com/Ajax_Events. Done means expanding the global Ajax discussion with examples and narrative for events, prefilters, transports, converters, and app-level request mediators, while moving the prefilter content into the Ajax Events section.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.