Hi Mike,

Give this a shot:

$('table:not([table])').addClass('no-nest');


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Aug 7, 2007, at 6:12 PM, Mike Miller wrote:


Hi,

I am trying to find a way to determine whether or not a particular
table element has a child table element.  If it does not have any
children tables I want to change the class of the table.  If it does
have children table elements I do not want to do anything.

Any ideas?

M


Reply via email to