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

100
Views
Ajax post data confused

I want to make a POST request, and I am confused with the "Data". My idea is to store the data by current day. The values ​​that I need to store are "form", sunbed color "actual_step" and "total_sold". I want that when I select a past day and do a "Get", the data of that day appears.

Work: codepen work

 var conection;
    
    
    Ajax code;
    
        $.ajax({
                   type: "POST",
                   url: '../cr4id3r/sunbeds/blob/5875a09c7e6bdb9d8e3bb43f58ecf0d840395111/Conection.php',
                   data:{
                     ("#current_date")
                     $('#form').serialize();
                      "actual_step": actual_step;
                      "total_sold": total_sold;
                },
                   dataType:"String"
        
        
        },
                   success: function (data) {
                         alert(data.Message);
                   },
                   error: function () {
                          alert("Error!!!");
                   }
              });
              return false;
        
        });
    


  
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!