2013-10-01 21 views

回答

1

has()返回一个jQuery对象,它始终是真的。

试试这个:

http://jsfiddle.net/R95qn/

if (properties.eq(0).find('span').length)