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

96
Views
Muestro una tabla con ajax en tiempo real y reviso algunas líneas que devuelvo en mis vistas

En resumen, tengo este problema: cuando completo mi entrada automáticamente, muestro una matriz usando ajax, y en la misma tabla golpeo algunas líneas y cuando envío mis vistas a través de un botón, no tengo nada que se muestre en el consola o la terminal.

Js y Ajax

 enter code here $(document).on("click","#final",function(){ const list_entrepot = getSelectedVals1(); const list_fournisseurs = getSelectedVals(); selection = {list_fournisseurs,list_entrepot}; $.ajax({ async: false, type : "GET", url : 'fournisseur_ajax', data :{ 'csrfmiddlewaretoken': csrf, 'selection':selection, }, success : (res) =>{ console.log(res.data) } }); }); function getSelectedVals(){ var tmp =[]; $("input[name='fournisseur_tab']").each(function() { if ($(this).prop('checked')) { checked = ($(this).val()); tmp.push(checked); } }); var filters = tmp.join(','); console.log(filters) return filters; }
over 4 years ago · Santiago Trujillo
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!