Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
$.ajax is not a function jquery 3.x error

I have below jquery code snippet which sends some request to the server:

<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script>
 $(document).ready(function () {

      $("#approveButton").click(function(){
        
       $.ajax({
       method: "POST",  
       url:"/goHere",
       data:{
         month: "January",
         team: "myteam"
       }}).done(function(data){});
      });
  });
</script>

The approveButton click function is indeed working but I am getting an error like $.ajax is not a function. Can anyone help me with the issue? I am not even using the slim version of jquery, still I am getting the error.

Thanks!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!