-1
とJavaScriptでスパンにテキストやカウンタを使用してを表示する方法<span>
var counter =1;
$.each(catCounting, function(){
alert(catCounting.(countCat+counter));
$('#countCategory'+counter).html("("+catCounting.(countCat+counter)+")");
counter++;
});
//alert(counter);
}
'countCat'何ですか?になるはず、これを行うには、変数の後
.
を使用する必要はありませんか –