Chapter -2: jQuery Selectors Visibility Filter (Part III)

:hidden Selector Selects all elements that are hidden. Elements can be considered hidden for several reasons: They have a display value of none. They are form elements with type=”hidden”. Their width and height are explicitly set to 0. An ancestor … Continue reading

Posted in jQuery | Tagged , , , | Leave a comment

Chapter -2: jQuery Selectors Hierarchy (Part II)

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

Posted in jQuery | Leave a comment

Chapter – 2 : Why jQuery Selectors?(Part I)

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

Posted in jQuery | Tagged , , , , , | Leave a comment

Chapter – 1 : Getting Started with jQuery

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

Posted in jQuery | Tagged , , , | Leave a comment

jQuery: Web application framework – Tutorial

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

Posted in jQuery | Tagged , , , | Leave a comment