jquery跳过具有特定css类的表

Hol*_*lly 1 javascript css jquery jquery-selectors

我正在穿越桌子 $("table").each(function()

如何跳过具有css类" NotThisClass "的表

$("table").each(function(){
  if( $(this:not('.NotThisClass')))
    {
      // Do Stuff
    }
  }
Run Code Online (Sandbox Code Playgroud)

不工作,也不是这样,

if( $(this).not('.NotThisClass'))
Run Code Online (Sandbox Code Playgroud)

什么是正确的语法?

Jus*_*son 7

$("table").not('.NotThisClass').each(function() {
    //Do your stuff!
});
Run Code Online (Sandbox Code Playgroud)