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

161
Views
Jquery Datatable clears table data when typing on search box and table data won't get back

I'm working on Jquery data table. data retrieved via Ajax call and populated to the DataTable. the DataTable is inside a modal. When I type on the search bar, the problem is that the filter is not working. and also when I type anything on the search bar, it clears all table rows and won't get back.

   $(document).ready(function(){
            $('#table').DataTable({
                  "searching": true,
    
              
                });

        $.ajax({
                    type: "POST",
                    data: {user_id: usr_id},
                    success: function(result){
          $('#table tbody').html(row);
    }
    
    });

        });
    
          
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!