2. Hierarchy 2.1 Child Selector (“parent > child”) Selects all direct child elements specified by “child” of elements specified by “parent”. // Example : $(‘li > ul’) 2.2 Descendant Selector (“ancestor descendant”) Selects all elements that are descendants of a … Continue reading
Why? jQuery requires a target to perform each action, for example, in order to hide or show an element on the page, first we must find that element. To do so, jQuery rely on jQuery’s selector expressions. Borrowing from CSS 1–3, and … Continue reading
1. What is $ in jQuery? The $ represents the jQuery Function, and is actually a shorthand alias for jQuery. Prototype, jQuery, and most javascript libraries use the $ as the primary base object (or function). Most of them also … Continue reading
I wish to write few lines about jQuery before we starts. jQuery is a lightweight cross-browser JavaScript library that emphasizes interaction between JavaScript and HTML. It was released in January 2006 at BarCamp NYC by John Resig. Used at about … Continue reading



