$(".finish").click(function(){
$.ajax({
url:"/index.php/Home/MiaoManage/change_status",
type:"POST",
dataType:"json",
data:{plan_id:$(this).attr("mask")},
success:function(re){
alert($(this).html());
}
});
});
$(".finish").click(function(){
var fh=$(this);
$.ajax({
url:"/index.php/Home/MiaoManage/change_status",
type:"POST",
dataType:"json",
data:{plan_id:$(this).attr("mask")},
success:function(re){
alert(fh.html());
}
});
});
$('.operating a.l').live('click',function(){
var obj = $(this);
$.ajax({
url : '/information/picture/delImage',
type : 'POST',
dataType :'JSON',
data : 'image_url='+$(this).parents().siblings('img').attr('src')+'&article_id='+ARTICLE_ID,
success : function (data) {
if(data.error_code){
infotips(data.msg,$(".submit_tips"), 'error');
return false;
}else{
obj.parents('.list').remove();
infotips('删除成功',$(".submit_tips"), 'right');
}
}
});
});
$.ajax({type: 'GET',
url: "/flag/",
data: dat,
success:function(){
$(this).prevAll('p').css("text-decoration","line-through");
}
});
$.ajax({type: 'GET',
url: "/flag/",
data: dat,
success:function(){
$(this).prevAll('p').css("text-decoration","line-through");
}.bind(this)
});
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛