Javascript入门到高阶
by ksky521 on Aug 18, 2011
- 4,037 views
大纲 ...
大纲
第一部分:初级javascript
初级:变量类型
变量类型
基础类型
六种:undefined、string、number、boolean、object和function
typeof
对象类型
以基础类型为基础,从object这一种类型中发展起来的
instanceof
function是object
初级:关于类型的一些小题目
初级:关于类型的一些小题目[答案]
初级:常见对象方法
String
Array
Date
Math
RegExp
第二部分:中级javascript
中级
对象
location,navigator,screen……
Cookie
DOM
Events
Ajax
中级:navigator
中级:location
中级:document.cookie
Javascript对cookie操作是通过document.cookie进行的
中级:document.cookie
cookie安全
中级:DOM
DOM
节点介绍
节点
类型
遍历节点
创建节点
节点访问和修改
中级:DOM
中级:DOM-document
中级:DOM-节点查找
中级:DOM-节点遍历
中级:DOM-节点关系图
中级:DOM-创建节点
中级:DOM-节点访问、修改
中级:DOM-节点访问、修改
中级:DOM-节点属性
中级:DOM-节点属性
中级:Events-类型
Document
load, unload, resize, scroll
Mouse
mouseover, mouseout, mouseup, mousedown, click
Key
keydown, keyup, keypress
Forms
focus, blur, change, keydown, keyup, keypress
中级:Events-事件模型
中级:Events-事件监听
中级:Events-阻止冒泡
中级:Events-阻止默认事件
中级:Events-获取event/this
获取event对象:http://www.js8.in/703.html
中级:Events-事件代理(委托)
中级:Ajax
Ajax
xmlHttpRequest对象
发送
Get
Post
接收
数据类型
JSON
JSONP
中级:Ajax
Ajax
“Asynchronous JavaScript and XML”(异步的JavaScript与XML技术),是一种广泛应用在浏览器的网页开发技术。Ajax是多项技术的综合应用,Ajax概念由 Jesse James Garrett 所提出
XMLHttpRequest对象
中级:Ajax
创建XMLHttpRequest对象
中级: Ajax发送请求
GET
Ajax响应处理
onreadystatechange 事件
0: 请求未初始化
1: 服务器连接已建立
2: 请求已接收
3: 请求处理中
4: 请求已完成,且响应已就绪
中级:JSON & JSONP
JSON
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。
http://www.json.org
XML vs JSON
JSON应用:微博用户提示
JSON应用:微博用户提示
JSON发明者:牛鼻子老道
Douglas Crockford是JavaScript开发社区最知名的权威,是JSON、JSLint、JSMin和ADSafe之父。JavaScript的发明人Brendan Eich说他是“lambda编程和JavaScript的精神领袖”。
Yahoo的资深JavaScript架构师
YUI团队
http://www.crockford.com/
http://profiles.yahoo.com/blog/GSBHPXZFNRM2QRAP3PXNGFMFVU
中级:JSON编码
在json的官方网站提供了各种语言的编码和解码json的函数,例如php中的json_encode/json_decode
JSON.parse
JSON.stringify
JSONP
JSONP
JSONP是一个非官方的协议,它允许在服务器端集成Script tags返回至
Accessibility
Categories
Tags
More...Upload Details
Uploaded via SlideShare as Microsoft PowerPoint
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 20
- Downloads
- 323
- Comments
- 2
- Embed Views
- Views on SlideShare
- 2,472
- Total Views
- 4,037
1–2 of 2 previous next