weixin_33696822 2017-11-14 00:46 采纳率: 0%
浏览 38

Ajax在xampp中不起作用

I am trying to alert the message from other file using php, ajax in localhost xampp but could not get the result.Can someone please help? My ajax

$('#diary').bind('input propertychange', function() {
    $.ajax({
    method: "POST",
    url: "updatedatabase.php",
    data: { content: $("#diary").val() }
    })
        .done(function( msg ) {
        alert( "Data Saved: " + msg );
    });
});
  • 写回答

0条回答 默认 最新

    报告相同问题?