You are able to access any jQuery function through the use of the
jquery() function. jQuery defined the
$() function to be used as a shortcut, because of how often you have to reference this function. They both work the same, but the use of
$() is more common and recommended for speed (easier to type), readability, and file size. The benefits to using the shortcut function are minor, but it helps to build good habits and follow industry best practices.