$.ajax ({
) type:"post",
url: "/menu/delete",
data: {"id":$("-sharpoperateMenuOfNodeId").val()},
success:function(data){
if(data.success == true){
toastr.success(data.message);
window.location.reload();
}else{
toastr.error(data.message);
}
},
error:function(){
toastr.error("");
}
});
toastr.success(data.message);