Hi,
I definitely see how the documentation can be confusing there. I think
the distinction was made because the ones that just have "Element" are
the ones that only ever return a single element (in the array). I
wonder if it would make sense to still have a distinction somehow.
Maybe:
Array <Element(s)> -- for all the selectors that currently say Array
<Element>
Array <Element> -- for all the selectors that currently say Element
Does this sound reasonable? Would it cause other problems and/or
confusion?
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 7, 2008, at 9:04 AM, deer421 wrote:
Thanks for all the responses.
So the API doc (http://docs.jquery.com/Selectors) should say all
selectors return Array <Element> instead of some of them return
Element. Am I correct?