dkarzon dkarzon - 2 months ago 6
jQuery Question

How can I select all TD elements that don't contain an A element?

I'm trying to use JQuery to select all of the

TD
's in a
table
that DON'T have an
A
tag inside them. (They should just have text). How can I do this?

Answer
$("td:not(:has(a))").doStuff();