我正在使用.post
jQuery 的 AJAX 方法:
// completion toggling
$('.item input').click(function() {
$.post('complete.php', {item: this.id}, function() {
$(this).parent().fadeOut('slow');
});
});
我在这里做错了什么?AJAX 在记录更新时工作,但回调事件永远不会发生。Firebug 中也没有错误。