why do first() return a array?
for checkbox like:
- <input type="checkbox" id="selectAll"/>
when I use $("selectAll") or $("selectAll :first") or $("selectAll").first(), result is
- [<input type="checkbox" id="selectAll"/>]
but for $("selectAll") [0], result is
- <input type="checkbox" id="selectAll"/>
so what is the correct usage of ":first" and "first()"?