需要提示AJAX
答
的jQuery AJAX文档:http://api.jquery.com/jquery.ajax/
我推荐这种方法:
$.ajax({
type: "POST",
url: 'ajax_controller.php', //url to u controller in PHP
data: { //Data transmitted to the controller
id: id,
action: 'delete'
}
}).done(function(result){
console.log(result);//show controller result in console
});
u使用jQuery的___ – 2014-09-25 06:41:56
是的,但我不知道的AJAX部分 – user3512121 2014-09-25 06:44:27