Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function eliminar_usuarios(){
- $("#dialog").dialog("close");
- var where='';
- var n=$("table tbody tr td input:checked").map(function() {return $(this).attr("id");
- });
- for (var i = 0; i < n.length; i++) {
- where+="idbkend_users="+n[i]+" and ";
- }
- where=where.substr(0,where.length-4);
- //alert(where);
- $.ajax({
- type:"POST",
- url:"services/service_bck_index.php",
- data:"where="+where+"&del_bckusers="+1,
- beforeSubmit: function () {
- $("#usarios_backend").html("");
- $("#usarios_backend").append($('#loading').show());
- },
- success: function(msg){
- switch(msg){
- case '1': showMsg('Exito','exito','El(los) usuario(s) fue(fueron) eliminado(s) con exito');
- tabla_bckusers();
- }
- }
- });
- }
Add Comment
Please, Sign In to add comment