Answers for "Uncaught TypeError: $.ajax is not a function"

8

ajax is not a function

// Make sure you are not using the slim version
Posted by: Guest on October-09-2020
1

Uncaught TypeError: $.ajax is not a function

Neither of the answers here helped me.
The problem was: I was using the slim build of jQuery, which had some things removed, ajax being one of them.

The solution: Just download the regular (compressed or not) version of jQuery and include it in your project.
Posted by: Guest on August-01-2021

Code answers related to "Uncaught TypeError: $.ajax is not a function"

Code answers related to "Javascript"

Browse Popular Code Answers by Language