在ajax和php中找不到对象错误

在ajax和php中找不到对象错误,ajax,Ajax,为什么会有应答器?我无法转到指定的链接。它的显示对象未找到错误。但是url中指定的链接非常好。请从url中删除。 eventClick: function(event) { alert(event.id); $.ajax({ type: "POST", url: '<code>http://localhost/projects/bootmetro-master/demos/delete_events.php</code>',

为什么会有应答器?

我无法转到指定的链接。它的显示对象未找到错误。但是url中指定的链接非常好。请从url中删除
eventClick: function(event) {

alert(event.id);
        $.ajax({

    type: "POST",
    url: '<code>http://localhost/projects/bootmetro-master/demos/delete_events.php</code>', 
    data: 'id=' + event.id,
    success: function(json) {
             alert("Updated Successfully");
             $('#calendar').fullCalendar('removeEvents', event.id);
             window.location.href='http://localhost:80/projects/bootmetro-master/demos/coecalendar.html';
    }
});
},
url: '<code>http://localhost/projects/bootmetro-master/demos/delete_events.php</code>',