我正在穿越桌子 $("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)
什么是正确的语法?
我正在使用Perl TMDB模块
我如何从下面的代码中获取示例中的元素
my $width = '1000' 和 my $file_path = "/yDIVWFJqFLIeS8E1R6GG9uwPMS3.jpg"
my @images = $movie->images;
# print " <p>backdrops </p>";
print OUT JSON::to_json(\@images) ; ## Dump.txt below
foreach my $image (@images) {
#print $movie->cast;
my $backdrops = $image->{backdrops};
my $posters = $image->{posters};
#print " <p>backdrops" . JSON::to_json(\@backdrops) . "</p>";
foreach my $backdrop ($image{backdrops}) {
my $width = $backdrop->{width};
my $file_path= $backdrop->{file_path};
print " <p>backdrops </p>";
print "<div>width : $width <br />$file_path : $file_path </div>";
}
}
Run Code Online (Sandbox Code Playgroud)
Dump.txt的示例
[{ …Run Code Online (Sandbox Code Playgroud)