Selecting rows which have a first column that is not empty
Hello.
At the moment I am trying to select rows (TRs) which have a first column (TD) that is not empty. (has some text in it)
I have tried the following:
- $(#myTable).find("tbody").find("tr:has(td:first-child:not(:empty))")
Now I am only getting one row as a result. (the first which fullfills the reqs) Am I doing something wrong? Or is there a better way of doing that.
Thank you very much for your help.
Regards