Try doing it in two steps:

$("#tableid tbody tr:has(td.someclass)").filter(':contains
(mytext)').doSomething()

On Feb 10, 7:57 pm, SteelRing <steelr...@gmail.com> wrote:
> Anyone can think of a reason why this shouldn't work? I'm trying to
> select the Row (tr) where the cell of td with class "someclass"
> contains "mytext". Since I want to work on the row (tr) itself, I need
> to use :has because I don't need to select the td itself. Am I wrong
> or am I wrong?
>
> $("#tableid tbody tr:has(td.someclass:contains(mytext))").dosomething
> ();

Reply via email to