ajax基础请求
//结果多选渲染ajax $.ajax({ url: "xxx",//"xxx?xx" type: "get", dataType: 'json', success: function(data) { //输入获取到的数据 console.log(data) }, error: function(data) { console.log("error") //可以写假数据用来测试 } }) })