JQuery throws the error $.ajax is not a function, when you are using slim version and not full version.

Here is the link to slim version of jQuery which excludes ajax and effects modules –

https://code.jquery.com/jquery-3.6.0.slim.min.js

Here is the link to full version –

https://code.jquery.com/jquery-3.6.0.min.js

Comments

About the Author

akamit

I am Akash Mittal, an overall computer scientist. If you want to guest post, need help in your projects, want to advertise, Feel free to contact me at [email protected]

View All Articles