有人可以告诉我如何使用 jquery 删除和隐藏事件吗?实际上,目前我正在使用 jquery bellow 并且它工作正常,但它只是删除了事件但没有隐藏它请你能为我修改它吗?
function delData(id){
if(confirm('Do you really want to delete it ? if yes then click OK and wait for next notification please.. ')){
$.ajax({
type:'POST',
url:'manage_reports.php?action=del&id='+id,
success:function(result){
alert('Sale has been deleted successfully.. Do not refresh your page if you want to keep stay here');
$(control).parents('table').eq(0).remove().hide("table");
}
});
}
};
太感谢了