Uncaught ReferenceError: $ is not a function
In this article, we will see the “Uncaught ReferenceError: $ is not a function“. The ReferenceError is an object that represents an error that arises when the variable is not initialized or simply, variable doesn’t exist in the current scope & it is referenced.
To solve this error, first, use jQuery CDN link inside the head section or download the jQuery file and use the jQuery file link inside the head section.
To solve this error, we simply add the jQuery CDN link or downloaded jQuery path link inside the head section.
jQuery CDN Link:
Example: This example resolves the error by adding the required CDN link inside the <script> tag.