2020年2月24日

325 AJAX介绍,XMLHttpRequest对象,实现Ajax的异步交互步骤,服务器端通信状态

该文被密码保护。 阅读全文

posted @ 2020-02-24 23:07 冲啊! 阅读(4) 评论(0) 推荐(0) 编辑

323 XAMPP软件

摘要: XAMPP软件 Apache 软件服务器(运行PHP) 启动失败 原因 端口号被占用 错误信息 Error: Apache shutdown unexpectedly. 解决 config选项 [Apache] conf目录 httpd.conf文件 修改 Listen 8888(端口号) 如何访问 阅读全文

posted @ 2020-02-24 20:13 冲啊! 阅读(123) 评论(0) 推荐(0) 编辑

322 $.ajax()方法:基本使用,传递请求参数,beforeSend(),serialize(),serializeArray()

摘要: 01.$.ajax方法基本使用.html 02.$.ajax方法传递请求参数.html 03.beforeSend方法的说明.html serialize(),serializeArray() 阅读全文

posted @ 2020-02-24 14:58 冲啊! 阅读(255) 评论(0) 推荐(0) 编辑

321 跨域请求时,携带cookie信息:xhr.withCredentials=true

摘要: 09.实现跨域登录功能.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>实现跨域功能</title> <link rel="stylesheet" href="/assets/bootstrap/d 阅读全文

posted @ 2020-02-24 11:23 冲啊! 阅读(346) 评论(0) 推荐(0) 编辑

320 访问非同源数据 服务器端解决方案

摘要: 客户端client访问自己的服务器端A, client自己的服务器端A访问别的服务器端B, A将访问到的数据响应给自己的客户端client。 3000端口的客户端的代码 应该是这个代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UT 阅读全文

posted @ 2020-02-24 10:05 冲啊! 阅读(278) 评论(0) 推荐(0) 编辑

导航