vendredi 24 mai 2019

Error : I want to get a value from checked checkbox datatable Ajax and jequery

I want to get value of " IG " when it checked and post to ajax

  "select": {
     "style": "multi"
  },

"processing" : true,
"serverSide" : true,
"order" : [],

"ajax" : {
 url:"accfiltrage.php",
 type:"POST",

}

$('#customer_dataa tbody').on( 'click', 'tr', function () {
    $(this).toggleClass('selected');
} );
$('#button').click( function () {
  swal( table.rows('checkboxes.selected').data().length +' Commande selectioner login to continue ' ).then(

  function() {
        window.location.href = "login.php";
    })



} );

Please help image for my code

1:

https://i.stack.imgur.com/Cuf2k.png




Aucun commentaire:

Enregistrer un commentaire