You are able to access any jQuery function through the use of the
$() function. jQuery defined
$() to be used as a shortcut for the
jquery() function. This shortened name is used because of how often you have to reference this function. Both the
jquery() functions 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.