I have a jquery object called $(stuff).
Inside $(stuff) is a bunch of html code containing a variable number of <table>s and I want to take a look at just that first table in the html.
Inside this first table I want to search the first column(or really any column) to find a substring with a value of "9.5"
I want to know how many rows down "9.5" is in that table and return that value.
Idea of code to perform the operation(does NOT work):
var tableRow = $(stuff).filter(function () {
return $('td' + ":contains(9.5)");
}).closest("tr");
$(stuff).find( "table:first tr:contains(9.5)");if you are more specific to find the text only in first table .