|
|
|
|
|
by nadabu
4685 days ago
|
|
Why would you have no idea? If you're querying by id, you have one, if you're querying by anything else, assume you have more. Once you assume you have more, you use each() to operate on all or only() to narrow the list. Those functions handle the abstraction for you, just like a jQuery wrapper does. |
|
Unless I'm missing something, and an "HTML'ified node" acts as an array in the single case.