Skip to content
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

Pseudo-selector part of "Selecting Elements" is repetitive #338

Closed
alimony opened this issue Apr 13, 2013 · 2 comments
Closed

Pseudo-selector part of "Selecting Elements" is repetitive #338

alimony opened this issue Apr 13, 2013 · 2 comments

Comments

@alimony
Copy link

alimony commented Apr 13, 2013

http://learn.jquery.com/using-jquery-core/selecting-elements/

The filter and performance tips are repeated for a lot of the pseudo-selectors, maybe they can somehow be consolidated?

@scottgonzalez
Copy link
Member

Most of this page should probably be replaced by a simple link to the API docs. See #180.

@arthurvr
Copy link
Member

A bunch in there should indeed be replaced by the api docs. Also, some other thoughts of mine on that article:

  • The hole Selecting Form Elements section would need some better explanation, instead of an example on every possible :<type> pseudo selector. Then just to link up the api docs.
  • The info regarding :checkbox, :password and other selectors have innacurate documentation api.jquery.com#495 must be updated.
  • Also $.fn.is() might be worth mentioning. All the selector power comes out really handy in there.
  • There isn't anything said about the fact you can pass in raw dom nodes, such as document.body.
  • What exactly gets selected when doing $(document) or $(window), I see confusion about that sometimes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

3 participants