删除统一提示
[code="java"]$(function(){ $("a[target='ajax']").click(function(){ var that = this; if(confirm($(this).attr("title"))){ $.ajax({ type: "post", url: $(that).attr("href"), dataType:"json", success: function(data){ alert("删除成功!"); } }); } else{ return false; } }); }); 删除[/code]