jquery / jquery/learn.jquery.com
event-basics.md - replace deprecated methods like .click()
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 915
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
Problem
The event-basics.md page still uses the deprecated .click(), .focus(), blur() and .change() shorthand methods.
Proposal
These methods can be updated to use .on("click") for consistency with jQuery 3.0+.
If this approach is accepted, I can submit a pull request.
There may be other pages with the same issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with event-basics.md and locate the deprecated .click(), .focus(), blur(), and .change() shorthand methods. Update the examples to use the proposed event-binding approach, then review the rendered page for consistency. Done means the listed deprecated methods are removed from this page; searching other pages can establish whether the scope should expand.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 76/100