Example 1 — Official td:eq(2)
From the jQuery docs: pick the third table cell.
var text = $("td:eq(2)").text();
$("#out").text("Matched: " + text + " (index 2)"); How It Works
- Set. All
tdcells get indices 0–8. - eq(2). Keeps only the third cell.
- text. Reads that cell’s label.

