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

222
Views
Cómo obtener todas las identificaciones de todos los datos verificados en todas las páginas en Datatables

Hola, tengo mis tablas de datos con una casilla de verificación en la primera columna. Puedo obtener la identificación de la casilla de verificación marcada, pero no puedo obtener todos los datos en la otra página.

tengo esto para representar mis tablas de datos

 var tableDelcar; function LoadTableDelcar() { tableDelcar = $('#tblDelcar').DataTable({ //dom: 'Brtip', order: [[1, 'asc']], buttons: [ 'csv', 'excel', 'pdf', 'print' ], pageLength: 10, "ajax": { async: false, type: 'POST', contentType: 'application/json', url: 'MaintenancePage.aspx/getCarDelMaintable', "dataSrc": "d", dataType: 'json', }, "columns": [ { "d": null, render: function (data, type, row, meta) { return '<input type="checkbox" class="select" id="' + row.CAR_NO + '"></td>'; }, title: "Action" }, { "data": "CAR_NO", title: "Car No" }, { "data": "FINDINGS", title: "FINDINGS" }, { "data": "ActionOwner", title: "Action Owner" }, { "data": "Auditor", title: "Status" }, { "data": "COORDINATOR", title: "COORDINATOR" } ] }); }

y esta es mi función para obtener los ID de las casillas marcadas

 function DeleteCar() { var IDs = $("#tblDelcar input:checkbox:checked").map(function () { return $(this).attr("id"); }).get(); alert(IDs); }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Asegúrese de que su DOM esté cargado cuando llame a su función en la otra página. tienes error?

about 4 years ago · Juan Pablo Isaza Report
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!