What is jQuery(document) vs. $(document)

There is no difference. $ is shorthand for jQuery. Sometimes $ is disabled as it may conflict with other Javascript libraries you are using. It is otherwise identical.

Leave a Comment