document.writeln("");
$('#hits').html('292');
$('#js-read-times-text').html('292');
$('#comments_top').html('33');
$('#js-comments-times-text').html('3');
$('#comments').html('3');
$('.comment-content>ul').html('
ARUNNE
2022-01-07 16:41
(0) |
(3)1
ARUNNE
2022-01-07 16:39
(0) |
(2)我
1
');
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());
}
});
}