jquery / jquery.org

jQuery Foundation web site content
https://jquery.org
Other
49 stars 71 forks source link

Documentation bug: Has Attribute Selector [name] #74

Closed cbmono closed 10 years ago

cbmono commented 10 years ago

Not sure if I am right here - So, sorry if I am not.

The example for "Has Attribute Selector [name]" is not using at any moment something like $('field[name]'), which it should, since it's not the same as $('field').attr('name'):

http://api.jquery.com/has-attribute-selector/

scottgonzalez commented 10 years ago

This is the bug tracker for jquery.org, not api.jquery.com.

Anyway, the example uses div[id].