function saveCat(id){
    var newcat = document.getElementById('catSelect'+id).value;
    var clearName =  newcat.replace(/_/,' ');
    $.ajax({
        url: 'DeliInventoryPage2.php',