我正在使用 $("table").each(function()
如何跳过具有 css 类“NotThisClass”的表
$("table").each(function(){
if( $(this:not('.NotThisClass')))
{
// Do Stuff
}
}
不工作,这也不是,
if( $(this).not('.NotThisClass'))
正确的语法是什么?
最佳答案
$("table").not('.NotThisClass').each(function() {
//Do your stuff!
});
关于javascript - jquery 跳过具有特定 css 类的表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10641288/