false;
}
}
$.ajax({
type: "post",
url: url ,
data: {'bid': bid , 'to' : tid , 'qid' : qid , 'text': text , 'tname' : tname },
dataType: 'json',
success: function(data){
if(de == 1){
var tpl = '';
tpl+= '' + der + '';
tpl+= '';
tpl+= '
' + + '' + fo.dateline + '
';
tpl+= '
' + fo. + ':'+ fo. + '
';
tpl+= '
' + + '
回复 | 删除| 举报';
tpl+= '';
tpl+= '';
$('#replyList .Blog_right1_8:first').before(tpl);
$('.z_move_comment').html('').hide();
}
else if(de == -1){
//shoErrorMsg(fo , '消息提示');
shoErrorMsg('操作失败,您需要先登录!', '消息提示', '');
}
},
error: function(){//请求出错处理
}
});
});
//底部发表评论
$('#submitmsg').click(function(){
if(alloComment == 1)
{
shoErrorMsg('该博文不允许评论' , '消息提示');
return false;
}
var bid = $(this).attr('bid');
var toid = $(this).attr('toid');
var text = $('#reply').val();
var url = $(this).attr('url');
if(text == '' || text=='文明上网,理性发言...')
{
shoErrorMsg('评论内容不能为空!' , '消息提示');
return false;
}
else
{
if(mb_strlen(text) > 1000){
shoErrorMsg('评论内容不能超过500个汉字' , '消息提示');
return false;
}
}
$.ajax({
type: "post",
url:
-->>(第5/8页)(本章未完,请点击下一页继续阅读)