Ajax 和 JSON
摘要:Ajax:异步更新页面的技术,必须在http或者https网络网络协议下使用 1.原生js实现:共4步 2.jQuery:$.ajax(配置对象); 常用参数:url, type, data, success, error 3.fetch:fetch(配置).then(处理数据函数).then(接收
阅读全文
posted @
2021-05-29 11:21
汤姆猫8
阅读(60)
推荐(0)
有效Ajax案例
摘要:<script>$(document).ready(function(){ $("input:submit").click(function(){ $.ajax({ type: "POST", url: "Ajax", contentType: 'application/x-www-form-url
阅读全文
posted @
2021-05-07 12:25
汤姆猫8
阅读(78)
推荐(0)