ReferenceError: $ is not defined

Created at 29-Sep-2021 , By samar

ReferenceError: $ is not defined

Hello everyone, in this post we will look at how to solve "ReferenceError: $ is not defined" in programming.

ReferenceError: $ is not defined is the most common error found while running javascript code when you use $ in script without including the jQuery library. Use jQuery CDN to file to avoid the error.
  • Jquery-3.6.0.min.js CDN link

    <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
    

    This is the minified jQuery CDN link with version 3.6.0.

Back to code snippet queries related javascript

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.