ajax使用 ajax+json

首先将ajax写于js方法中,定义事件,让元素触发,触发以后就会有数据产生给服务端php $.ajax({ type: "POST", url: "test.php", data: "name=garfield&age=18", success: function(data){
相关文章
相关标签/搜索