I have this function to create an alert before deleting and I call it on the button:
function ConfirmDelete() {
return confirm("Tem certeza de que deseja excluir esta Requisição?");
}
<button type="submit" class="btn btn-danger" Onclick="return ConfirmDelete()">Excluir</button>
Works correctly, but does not refresh the page when you delete the line. How do I delete a line when I refresh the page?