I'm a bit new to jQuery so forgive me for being dense. I want to select all <td>
elements on a particular page via Chrome's JS console:
$('td')
Yet when I do this, I get the following output:
<td>Apples</td>
Isn't jQuery supposed to return an array of elements with the <td>
tag? Why am I only seeing the first element that matches this criteria?
Here is the site in question: http://www.w3schools.com/html/html_tables.asp
EDIT: I'd like to add that when I type a jQuery function into Chrome console, I do NOT get a jQuery object back. I get a plain HTML element. Something must be wrong with the way my Chrome is set-up/configured.