Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.del').click(function(){
- var idcu = event.target.id;
- $.ajax({
- url: 'login.php',
- type: 'post',
- data: {
- type: 'del_customer',
- ids: idcu
- },
- success: function(response) {
- var msg = '';
- if (response != '') {
- $(function() {
- alert("Usunięto!");
- });
- } else {
- $('#table').text('Niedziała');
- }
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement