jquery / jquery/api.jquery.com

Document requiring explicit `dataType` for all script requests in 4.0

Open
#1,258 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
325
Forks
260
PR merge metrics
No merged PRs in 30d

Description

jQuery 3.0.0 stopped auto-executing cross-domain scripts unless an explicit dataType: "script" was provided. jQuery 4.0.0 will extend this requirement to same-domain scripts as well. This needs to be documented.

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 by locating the API documentation covering script requests and the dataType option. Document that jQuery 4.0.0 requires an explicit dataType: "script" for same-domain as well as cross-domain scripts; done when this requirement is clearly stated in the relevant documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
jquery
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.