Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanm1ng/rebuild-js-function
重写常用的JavaScript函数
https://github.com/yanm1ng/rebuild-js-function
ajax fibonacci javascript learning map sort validate
Last synced: 6 days ago
JSON representation
重写常用的JavaScript函数
- Host: GitHub
- URL: https://github.com/yanm1ng/rebuild-js-function
- Owner: yanm1ng
- Created: 2017-03-03T05:37:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-13T14:21:33.000Z (over 7 years ago)
- Last Synced: 2024-11-16T14:29:21.655Z (2 months ago)
- Topics: ajax, fibonacci, javascript, learning, map, sort, validate
- Language: JavaScript
- Size: 29.3 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 重写常用的一些JavaScript函数
例如:
### ajax创建AJAX基本流程:
1. 构建 XMLHttpRequest 对象
2. 创建一个新的 HTTP 请求,并指定该请求的方法(如:GET、POST)、URL和请求头等信息
3. 设置响应 HTTP 请求状态变化的函数
4. 发送 HTTP 请求
5. 获取异步的响应数据
6. 使用 DOM 操作进行局部刷新[ajax.js](https://github.com/yanm1ng/rebuild-js-function/blob/master/ajax.js)