assets/js/ajax.js
//sending data of selected items to action.php with action delete
sending data of selected items to action.php with action delete
sending data of selected items to action . php with action delete
function deleteItems(queryString) {
    var data = new FormData();
    data.append('type', 'all');
    data.append('action', 'delete');
    var xml = new XMLHttpRequest();
    xml.open("POST", "Core/action.php?" + queryString, true)
    xml.send(data);
  }
function deleteItems ( queryString ) { var data = new FormData ( ) ; data . append ( 'type' , 'all' ) ; data . append ( 'action' , 'delete' ) ; var xml = new XMLHttpRequest ( ) ; xml . open ( "POST" , "Core/action.php?" + queryString , true ) xml . send ( data ) ; }
sending data of selected items to action.php with action delete
sending data of selected items to action . php with action delete