Despite our warnings about the horrors of pregnancy, childbirth, and babies, some of you are still destined to become parents, if you haven't done it already. Congratulations! Now prepare to be terrified, because you have no idea what you're about to face. And we're not even talking about that first diaper change.
jQuery has two usage styles: 1  Via the $ function, which is a factory method for the jQuery object. These functions, often called commands, are chainable as they all return jQuery objects. 2  Via $.-prefixed functions. These are utility functions, which do not act upon the jQuery object directly.
This collection of snippets takes a dive into some common and useful jQuery functions and their JavaScript equivalents. In light of my recent forays into the JavaScript DOM world, I'd decided to do a little research and write a snippet collection based on jQuery functions and their JavaScript equivalents. I think jQuery is a great tool, and it has done great things for me and many others as developers.