jQuery is a JavaScript library that transforms the web into an entertaining experience. In this jQuery Tutorial blog, youll learn the basics of jQuery with examples.
With an index specified, .get( index ) retrieves a single element: ; Since the index is zero-based, the first list item is returned: ; Each jQuery object also masquerades as an array, so we can use the array dereferencing operator to get at the list item instead: ; However, this syntax lacks some of the additional capabilities of .get(), such as specifying a negative index: