上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页

2020年2月22日

313 art-template模板引擎:概述,使用步骤

摘要: ![](https://img2018.cnblogs.com/blog/1877004/202002/1877004-20200222142745103-1783961138.png)![](https://img2018.cnblogs.com/blog/1877004/202002/1877004-20200222142832553-244871317.png)![](https://img... 阅读全文

posted @ 2020-02-22 14:36 冲啊! 阅读(277) 评论(0) 推荐(0)

312 Ajax 函数封装

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

posted @ 2020-02-22 13:52 冲啊! 阅读(4) 评论(0) 推荐(0)

311 同步异步概述,Ajax 异步请求

摘要: 09.Ajax异步请求.html 阅读全文

posted @ 2020-02-22 09:27 冲啊! 阅读(179) 评论(0) 推荐(0)

2020年2月21日

310 低版本 IE 浏览器的缓存问题

摘要: 08.Ajax缓存.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <button id="btn">发送Ajax请求</button 阅读全文

posted @ 2020-02-21 22:52 冲啊! 阅读(181) 评论(0) 推荐(0)

309 Ajax 错误处理:非200,404,500,网络中断

摘要: 07.Ajax错误处理.html 阅读全文

posted @ 2020-02-21 22:04 冲啊! 阅读(432) 评论(0) 推荐(0)

308 Ajax状态码,获取服务器端的响应的另一种方式onreadystatechange ,与onload的区别

摘要: xhr.readyState 为4, 只能说明接收完了服务器端的响应数据,但是服务器端可能响应了一个错误的数据,所以继续判断,http状态码xhr.status是200,才能说明此次请求是成功的 if (xhr.readyState 4 && xhr.status 200) { alert(xhr. 阅读全文

posted @ 2020-02-21 20:50 冲啊! 阅读(400) 评论(0) 推荐(0)

307 Ajax请求参数格式:json, x-www-form-urlencoded

摘要: 补充: (1)get请求的请求参数,以查询字符串的方式拼接在url后面; (2)传统的表单提交,表单数据以查询字符串的方式传递给send()方法。 05.向服务器端传递JSON格式的请求参数.html <!DOCTYPE html> <html lang="en"> <head> <meta cha 阅读全文

posted @ 2020-02-21 20:13 冲啊! 阅读(1090) 评论(0) 推荐(0)

306 Ajax请求参数传递

摘要: 03.传递get请求参数.html 04.传递post请求参数.html 阅读全文

posted @ 2020-02-21 17:57 冲啊! 阅读(244) 评论(0) 推荐(0)

305 Ajax服务器端响应的数据格式

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script type="text/javascript"> // 1.创建ajax对象 va 阅读全文

posted @ 2020-02-21 15:28 冲啊! 阅读(245) 评论(0) 推荐(0)

304 Ajax 运行原理及实现

摘要: 01.Ajax入门.html app.js 阅读全文

posted @ 2020-02-21 15:22 冲啊! 阅读(144) 评论(0) 推荐(0)

303 Ajax 基础

摘要: ![](https://img2018.cnblogs.com/blog/1877004/202002/1877004-20200221104722360-1609696712.png) ![](https://img2018.cnblogs.com/blog/1877004/202002/1877004-20200221104813792-1386245607.png) ![](https:// 阅读全文

posted @ 2020-02-21 10:50 冲啊! 阅读(139) 评论(0) 推荐(0)

2020年2月20日

301 网络基础:ip地址,域名,DNS服务器,端口,本地hosts

摘要: ip地址 所谓IP地址就是给每个连接在互联网上的主机分配的一个32位地址,就像每个人的身份证号码一样。 通过ip就可以找到具体的某一台计算机。 例 弊端:没有规律,不方便记忆和推广 查看本机IP地址 、`ipconfig ifconfig`(linux) 两种特殊的IP地址: 127.0.0.1 作 阅读全文

posted @ 2020-02-20 16:30 冲啊! 阅读(2133) 评论(0) 推荐(0)

300 客户端、软件架构、动态网站与静态网站

摘要: 客户端 具有向服务器 索取服务 能力的终端,叫做客户端。 + 客户端:电脑、平板、手机安装了客户端软件,就可以称为客户端 + 客户端:安装客户端软件, 索取服务 的计算机 + 服务器:安装服务器软件, 提供服务 的计算机 客户端软件 对于前端工程师而言,主要接触到的客户端软件就是 浏览器 ,当然也可 阅读全文

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

299 服务器

摘要: 前言:通俗的讲,能够提供某种服务的机器(计算机)称为服务器 服务器软件 服务器软件 :使计算机具备提供某种服务能力的应用软件。 通过安装相应的服务软件,然后进行配置后,就可以使计算具备了提供某种服务的能力。 1. 按 服务类型 可分为:文件服务器、数据库服务器、邮件服务器、 ; 2. 按 操作系统 阅读全文

posted @ 2020-02-20 13:12 冲啊! 阅读(169) 评论(0) 推荐(0)

298 Function.prototype成员

摘要: arguments:获取函数的实参,已经被废弃了,现在推荐的做法是使用函数内部可用的 对象来访问函数的实参。 (废弃的意思:已经从 Web 标准中删除,虽然一些浏览器目前仍然支持它,但也许会在未来的某个时间停止支持,请尽量不要使用该特性。 ) length:获取形参的长度 name:获取函数的名字, 阅读全文

posted @ 2020-02-20 10:36 冲啊! 阅读(152) 评论(0) 推荐(0)

297 hasOwnProperty 与 in

摘要: ```html Document ``` ```html Document ``` 阅读全文

posted @ 2020-02-20 10:25 冲啊! 阅读(121) 评论(0) 推荐(0)

2020年2月19日

296 HTTP协议

摘要: js const http = require('http'); const app = http.createServer() app.on('request', (req, res) = { if(req.method === 'GET') { res.end('gett') } else if 阅读全文

posted @ 2020-02-19 21:21 冲啊! 阅读(408) 评论(0) 推荐(0)

294 服务器端基础概念,nide.js创建web服务器

摘要: nide.js创建web服务器 const http = require('http'); // 引用系统模块 const app = http.createServer(); // 创建web服务器 // 当客户端发送请求的时候 app.on('request', (req, res) => { 阅读全文

posted @ 2020-02-19 17:06 冲啊! 阅读(221) 评论(0) 推荐(0)

293 Node.js中模块的加载机制

摘要: ![](https://img2018.cnblogs.com/blog/1877004/202002/1877004-20200219105735336-2035597962.png) ![](https://img2018.cnblogs.com/blog/1877004/202002/1877004-20200219115220406-2071833124.png) 阅读全文

posted @ 2020-02-19 11:53 冲啊! 阅读(134) 评论(0) 推荐(0)

292 node.js 之 package.json、package-lock.json文件

摘要: package.json package lock.json文件 阅读全文

posted @ 2020-02-19 10:53 冲啊! 阅读(246) 评论(0) 推荐(0)

上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页

导航