[jQuery] table cells selector question

[jQuery] table cells selector question


I can do this to select all td's with a class of someclass
var cells = $("td.someclass");
My page my have more than one table so this would select all matching
td's. What I need to do is isolate the selection to only the cells in
the table where a row was clicked.
I've tried
var cells = $("td.someclass").filter(this.parents("table"));
but that is throwing an error w/in jQuery.