jQuery Array Pattern

It’s helpful to know a trick that jQuery uses that allows one to chain jQuery commands together.

Every call to the jQuery function returns another jQuery object that is effectively an array of the DOM elements selected by that function and wrapped up in the extended jQuery API which goes beyond what the built in native Javascript API of the browser.

Hope that is clear - will write more later if it isn’t.