ajax index
http://jslecture.dawneve.cc/ajax/
001 ajax
- 简单ajax
- jsonp: get stock price
002 Promise Obj
- setTimeout: async example
- setTimeout 2: js引擎和GUI引擎互斥
- Promise 详解: resolve, reject 是什么?
- job1.then(job2).then(job3).catch(handleError);
- Promise version ajax
- Promise version ajax 2
- Promise all: 多任务并行执行,都成功才进入then
- Promise race: 多任务赛跑,有一个成功,则立刻进入then
003 drag and upload (backend: php)
- drag demo
- drag and upload demo
- drag and upload demo 2
- 003/03_multipy_drag.html 多文件拖拽到input file
- 003/04_multipy_drag_preview.html 多文件拖拽到input file,并预览图片
- 003/05_multipy_drag_preview_upload.html 多文件拖拽到input file,预览,上传
004 ajax using axios (backend: php)
- ajax by axios get
- ajax by axios post
- axios.all 一起执行完,再打印
- ajax post by axios config
- ajax get picture 获取远端图片 太复杂了