复制代码 代码如下: $("#tableName td:not([colspan])") 下面是一些补充资料:filter()和not(): <BR>$(document).ready(function() { <BR>//输出 hello <BR>alert($("p").filter(".selected").html()); <BR>//输出 How are you? <BR>alert($("p").not(".selected").html()); <BR>}); <BR> Hello How are you?