Category jQuery

jQuery – The noConflict() Method

What if you wish to use other frameworks on your pages, while still using jQuery? jQuery and Other JavaScript Frameworks As you already know; jQuery uses the $ sign as a shortcut for jQuery. There are many other popular JavaScript…

jQuery – AJAX load() Method

jQuery load() Method The jQuery load() method is a simple, but powerful AJAX method. The load() method loads data from a server and puts the returned data into the selected element. Syntax: $(selector).load(URL,data,callback); The required URL parameter specifies the URL…

jQuery – AJAX Introduction

AJAX is the art of exchanging data with a server, and updating parts of a web page – without reloading the whole page. What is AJAX? AJAX = Asynchronous JavaScript and XML. In short; AJAX is about loading data in…

jQuery Traversing – Filtering

The first(), last(), eq(), filter() and not() Methods The most basic filtering methods are first(), last() and eq(), which allow you to select a specific element based on its position in a group of elements. Other filtering methods, like filter()…

jQuery Traversing – Siblings

With jQuery you can traverse sideways in the DOM tree to find siblings of an element. Siblings share the same parent. Traversing Sideways in The DOM Tree There are many useful jQuery methods for traversing sideways in the DOM tree:…

jQuery Traversing – Descendants

With jQuery you can traverse down the DOM tree to find descendants of an element. A descendant is a child, grandchild, great-grandchild, and so on. Traversing Down the DOM Tree Two useful jQuery methods for traversing down the DOM tree…

jQuery Traversing – Ancestors

With jQuery you can traverse up the DOM tree to find ancestors of an element. An ancestor is a parent, grandparent, great-grandparent, and so on. Traversing Up the DOM Tree Three useful jQuery methods for traversing up the DOM tree…

jQuery Traversing

What is Traversing? jQuery traversing, which means “move through”, are used to “find” (or select) HTML elements based on their relation to other elements. Start with one selection and move through that selection until you reach the elements you desire.…