Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get nth tr in js

var value = $('table')
              .find('tr:eq(3)') // get the 4th table row
              .find('td:eq(4)') // get the 5th table cell in that row
              .text();          // get the text inside that cell
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nth #tr #js
ADD COMMENT
Topic
Name
5+5 =