why Jquery and (Javascript Fundamentals ) Understanding the Document Object Model(DOM)

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.οnlοad=function(){}//annoymous function
document.getElementByID('x').οnclick=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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值