jquery / jquery/learn.jquery.com
Article/Series Proposal: Working with Forms
Open
@arthurvr is already working on this.
Since Apr 1, 2015.
Chapter: events
Chapter: jquery-core
content
help wanted
- Dominant language
- JavaScript
- Stars
- 915
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
Many of the most popular stack overflow questions are currently about "how do I work with form elements" (is something checked? how to check on and off, etc)
It would be nice to write an article (or perhaps a section) about how to work with form elements.
Some tips to include:
.prop('disabled')- what it actually does (remove from submission data, make un-interactive)$('form').on('submit')instead of$('button[type=submit]').on('click')- Working with checkboxes (is it checked, value, names, etc)
- Working with radios
- Working with selects (option vs select, .val() etc)
- Form specific events (change, focus, blur, key events, etc)
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.
Assessment
This issue has not been assessed yet.