ReferenceError: $ is not defined

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.

Answers 1
  • Jquery-3.6.0.min.js CDN link

    <script src="" 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