此代码正确加载微调器,但如何在加载完成后隐藏它?
iframe {
background-image: url("http://jimpunk.net/Loading/wp-content/uploads/loading2.gif");
background-repeat: no-repeat;
background-position: 50% 50%;
}
Run Code Online (Sandbox Code Playgroud) 我有一个js函数需要根据第5个中的值格式化表中的第6列.我使用了以下但它不起作用:
$('tr td:nth-child(6)').each(
function() {
var vGood = 0.2
good = -0.5,
avg = 0,
poor = 0.5,
vPoor = -0.2
score= $('tr td:nth-child(5)').text();
if (score >= vGood) {
$(this).addClass('fa fa-thumbs-up fa-lg text-danger latest-icon');
}
})
Run Code Online (Sandbox Code Playgroud)