document.writeln("");
$('#hits').html('317');
$('#js-read-times-text').html('317');
$('#comments_top').html('6');
$('#js-comments-times-text').html('3');
$('#comments').html('3');
$('.comment-content>ul').html('
ytys2021
2021-10-18 15:36(1) | (0)评论一下评论
ytys2021
2021-10-18 15:35(1) | (0)评论
ytys2021
2021-10-18 15:35(1) | (0)测试评论
');
function voteFor(id)
{
this.id = id;
var url = "comment/?action=vote";
var data = '&id='+id + '&field=support';
$.ajax({
url: url,
data: data,
type: 'post',
success :function (msg){
$('#count_'+ id+'_1').html(msg);
$('#count_'+ id+'_0').html($('#count_'+ id+'_0>a').html());
}
});
}
/**
* 反对
**/
function voteAgainst (id )
{
this.id = id;
var url = "comment/?action=vote";
var data = '&id='+id + '&field=against';
$.ajax({
url: url,
data: data,
type: 'post',
success :function (msg){
$('#count_'+ id +'_0').html(msg);
$('#count_'+ id+'_1').html($('#count_'+ id+'_1>a').html());
}
});
}