TypechoJoeTheme

至尊技术网

统计
登录
用户名
密码
/
注册
用户名
邮箱
搜索到 1 篇与 的结果
2019-12-31

JQuery ajax 实例详解

JQuery ajax 实例详解
$.ajax({ type: "post",//提交数据的类型 post get url: "login.html",//提交的网址 data: {//提交的数据 name: "name", password: "password" }, dataType: "json",//"xml", "html", "script", "json", "jsonp", "text" //返回数据的格式 contentType: "application/x-www-form-urlencoded",//发送数据到服务器时所使用的内容类型 timeout: 10000,//设置请求超时时间(毫秒) async: true,//异步为true,同步为false,默...
2019年12月31日
992 阅读
0 评论