why Jquery and (Javascript Fundamentals ) Understanding the Document Object Model(DOM)
来源:互联网 发布:3d3s结构设计软件 编辑:程序博客网 时间:2024/05/29 17:16
DOM
Jquery provides a way to work accross the Broswers to access the DOM which is the biggest advatange; DOM has been implemented
by many providers since many years; difference between different browsers has made a lot of headache for developpers. developpers
used to study what the specific browser support. Jquery provides the way to easy access the DOM and simplified/unified ways to do the development.
The web browser will process the received HTML files into a DOM structured in-memory object;
It is strongly recommanded that the js script should not be mixed with the html code;
Below are all DOM functions:
windows.onload=function(){}//annoymous function
document.getElementByID('x').onclick=function
document.getElementByTag
x.parantNode
x.nodeName to get the h1, p, div,etc.,
x.href=x.setAttribute('href', 'http://o.comn')
x.getAttribute('href');
innerHTML should be used cautiously as it is not supported by call browwsers'
The getElementByClass should be delegated to Jquery as this is not common methond;
AJAX
provides several simple methods you can use to exchange data with a webserver using Ajax and easy ways to work with the data that's returned via an ajax call
EVENTS
solves the DOM ready vs. windows onload dilamma; support a simplified event handling model; provides the
bootstrap scripts to access to the DOM immediately; The big file could be slow to load and it will cause the js not work
correctly
Effects
has built-in effects
Allow you to use plugins for additional effects and other jquery based packages
www.jquery.com
CDN hosted Jqeury
Googld AJAX API CDN;Microsoft CND;Jquery CND
There are two version of Jquery which are deleveopment and production verions;
External JavaScript Libraries in WinRT application;
for host enforecement you can check: Building Real-World Metro style apps using JavaScript
- why Jquery and (Javascript Fundamentals ) Understanding the Document Object Model(DOM)
- JavaScript-DOM(document object model)
- JavaScript-DOM对象(Document Object Model)
- DOM (Document Object Model)
- DOM -----Document Object Model
- DOM(Document Object Model)
- 了解dom:DOM全称为The Document Object Model
- javascript dom(document object model)的简单介绍
- DOM:Document Object Model 文档对象模型
- Android XML解析(Document Object Model(DOM))
- DOM和SAX(Document Object Model)
- Document Object Model (DOM) MS MSDN
- HTML DOM(Document Object Model)学习初步
- DOM(Document Object Model)解析 入门
- DOM:文档对象模型 document object model
- javascripts操作DOM(Document Object Model)
- DOM,Document Object Model文档对象模型
- jQuery操作DOM(Document、Object、Model)对象——页面元素操作
- SOCKADDR, SOCKADDR_IN, sockaddr_in, in_addr
- zxing 竖屏扫描
- python替换UTF-8编码文本中任意特殊字符,包括中文符号
- SquirrelMQ消息队列介绍
- c语言
- why Jquery and (Javascript Fundamentals ) Understanding the Document Object Model(DOM)
- test
- 8 个必备的PHP功能开发
- 有志者,事竟成
- MFC中ClassWizard的用法
- 1、网友问答之如何停止定时循环-------labview编程宝典
- Fragment生命周期
- Big Number 求模
- %02x与%2x