Back to photostream

33

JQuery adrenaline-studios.com

jQuery is a great JavaScript framework that captivates with its

ease of understanding and ease of use. JQuery library helps

easily access any DOM element, access attributes and

the contents of the DOM elements, manipulate them. Also jQuery library

provides a convenient API for working with AJAX.

JQuery library manipulates html elements by controlling them

behavior and using the DOM to change the structure of the web page. Wherein

HTML and CSS source files do not change; changes are made only to

display page for user.

CSS selectors are used to select elements. The selection is made with

using the $ () function. When called, the $ () function returns a new instance

a jQuery object that wraps zero or more DOM elements and

allows you to interact with them in various ways.

 

Opportunities

 Sizzle cross-browser CSS CSS selectors engine, stand out in a separate

project;

 Navigation through the DOM tree, including support for XPath as a plugin;

 Events;

 visual effects;

 AJAX add-ons;

 JavaScript plugins.

 

Various scenarios are only possible after the download is complete.

document document structures when the browser converts the html code of the page to

DOM tree. Controlling the loading process is provided by the design

 

jQuery (document) .ready (function () {

 

...

});

 

First, the document instance is wrapped in a jQuery () function,

then the ready () method is applied, to which the function () {...} function is passed,

executable after loading a document.

In practice, an abbreviated form of such a record is usually used.

jQuery (function () {...}) ;, or $ (function () {...}) ;.

24 views
0 faves
0 comments
Uploaded on August 19, 2019