title: Can't delete from datatables
body: <p>I have a problem when i want to delete, it's always still loading and not deleting data. the data that i want to delete already shown, but when i click ok, it won't deleting just loading. is there something wrong ? because create, read and update already success. 
  <br>
  table: users
  <br>
  field : </p>
  
  <ul>
  <li>id</li>
  <li>username</li>
  <li>password</li>
  <li>level</li>
  </ul>
  
  <p><br><br>this is the sample of the code : <br></p>
  
  <p>index.php</p>
  
  <pre><code>function deleteUser(id) {
      clearModals();
      $.ajax({
          type: "POST",
          url: "crud.php",
          dataType: 'json',
          data: { id: id, type: "get" },
          success: function (data) {
              $("#removeWarning").show();
              $("#myModalLabel").html("Delete User");
              $("#id").val(data.id);
              $("#type").val("delete");
              $("#username").val(data.username).attr("disabled", "true");
              $("#password").val(data.password).attr("disabled", "true");
              $("#level").val(data.level).attr("disabled", "true");
              $("#myModals").modal("show");
              waitingDialog.hide();
          }
      });
  }
  </code></pre>
  
  <p>crud.php</p>
  
  <pre><code>case "delete":
       $SQL = mysqli_query($con, "DELETE FROM users WHERE username='".$_POST['username']."'");
          if($SQL){
              echo json_encode("OK");
          }           
          break;
  }
  </code></pre>
  
  <p>server.php</p>
  
  <pre><code>while ( $aRow = $rResult-&gt;fetch_assoc() ) {
      $row = array();
      $btn = '&lt;a href="#" onClick="showModals(\''.$aRow['id'].'\')"&gt;Edit&lt;/a&gt; | 
      &lt;a href="#" onClick="deleteUser('.$aRow['id'].')"&gt;Delete&lt;/a&gt;';
      for ( $i=0 ; $i&lt;$iColumnCount ; $i++ ) {
          $row[] = $aRow[ $aColumns[$i] ];
      }
      $row = array( $btn, $aRow['username'], $aRow['password'], $aRow['level'] );
      $output['aaData'][] = $row;
  }
  </code></pre>