怎样才能使用jquery中ajax与后台的交互,做毕业设计,想要用普通的html标签,再通过ajax能实现与后台的交互
$.ajax({type: "post",data: { "id": id },//参数url: "/",//路径dataType: "json",success: function (data) {//回调方法}});后台写上对应的方法就行了
https://blog.csdn.net/wpb92/article/details/50978625