Moja Ra Moja Ra - 5 months ago 26
jQuery Question

How do loop through a table to select a specific table cell on each row using jquery?

I am trying to place text in the 6th table cell of each row of my table. But all I am getting is the first row selected:

$('tbody tr:even td:eq(5)').each(function(){

What adjustment do I need to make?


I think that the following should work:

$('tbody tr').each(

JS Fiddle demo.