javascript 第一日(基本概念)

Javascriptcontains ECMAScript DOM BOM

ECMAScript:core

DOM:objectfor file

BOM:objectfor web-explorer

ECMAScript brief introduction

ECMAScriptas a core for javascript .it conclude grammar,type,Sentence,Reservedword(保留字)keywordOperator(操作符),object

ECMAScript new version5.0 have new function for JSON object

ECMAScriptcompatible (兼容) mainstream(主流)explorer

DOMbrief introduction

Documentobject model just for xmlbutexpand for HTML appapplicationprogram)。

Justa api!!!(important

domshow html as a tree

eg

<html>

<head>love</head>//title

<body>

<p>hellomissY</p>//text

</body>

</html>

DOMhave two levels;

DOMlevel1 is a standard for w3c.

DOMlevel2 aim for

1.DOMviews:define trace different documents views api;

2.DOMEvents:define affair and how to deal affair;

3.DOMStyles:define CSS api;

4.DOMTraversal(遍历) andRange:define Traversal and Range api;

DOMLEVEL3

1.DOMLoad and Save

2.DOMValidation(DOM验证)

BOMbrief introduction

BrowserObject Model(浏览器对象模型)

dealwith explorer ex-pages.

BOMjust deal with Browser window and frame

expandedbrowser

summaryjavascriptis a language talkwith Browsercanmake some Script(脚本)

ECMAScript:提供核心语言功能。providecore language function

DOM:提供访问和操作网页内容的方法和接口。provideaccess and manipulationweb

BOM:提供与浏览器交互的方法和接口。talkwith browser providefunction api

due to my english is worry。so just try english to blog。



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值