just make sure you pass unique values... if you pass "002" and we have 2 td, texts are joined :)
if i change my 3rd row td value to "002" and try that code, I will get "bc"
Refael
ASKER
Hi Huseyin KAHRAMAN :-) Thank you.
I think the problem was that i was searching on the first TD only. So I have changed it to "nth-child" and it looks that it is working fine. Yes filter would work better when dealing with duplicate values.
$("table td[text='" +leftNo + "']").next().text()