Есть код
jQuery(document).ready(function ($) {
var postamountjs = postamount['0'];
$('.blogpost').css('list-style', 'none');
$('.blogpost').addClass('none');
$('.blogpost:nth-of-type(1)').removeClass('none');
});
$('.blogpost:nth-of-type(сюда нужно передать значение переменной postamountjs)').removeClass('none');
Как это сделать?