I want to delete my data in table without refreshing it.
Here is my view. I used href to get the specific ID and delete single row.
@foreach ($clients as $client)
<tr>
<td>{{ $client->client_code }}</td>
<td>{{ $client->client_name }}</td>
//I want to click this then delete without refresh//
<td><a href="/admin/clients/archTrash/{{ $client->id }}" class="btn btn-info">Active</a></td>
//I want to click this too then delete without refresh//
<td><a href="/admin/clients/archTrashPermanent/{{ $client->id }}" class="fa fa-trash btn btn-danger"></a></td>
</tr>
@endforeach