special3220
special3220

Reputation: 103

jQuery Error: Uncaught TypeError: $.get is not a function

I am not sure why jquery is giving me error in my express app. I belive I am using the full version of jquery.

this is my code in my js file.

$( document ).ready(function() {
  console.log('Jquery Working');
  $('.card').on('click', function() {
    console.log('clicked')
  })
  $.get('/quizes', function (data) {
    console.log(data)
  });
});

And this is how I am connecting to jQuery

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Upvotes: 1

Views: 1812

Answers (1)

special3220
special3220

Reputation: 103

Problem solved. Bootstrap was using the slim version of jQuery which was causing the conflict.

Upvotes: 1

Related Questions