Hi Vitor.
You can use the onclick in link. Follow example below:
Example Simple:
<a href="YOUR LINK" onclick="return confirm('Are you sure?')">Link</a>
Or you can use jquery to create confirm in the link, but first you should to define a class, if has a grid, or id, if has a only element. Follow example below:
Example With Jquery:
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.delete').click(function(){
if(confirm('Are you sure?')){
//You will be redirected
return true;
}
return false;
});
});
</script>
</head>
<body>
<a href="YOUR LINK" class="delete">Link</a>
<a href="YOUR LINK" class="delete">Link</a>
<a href="YOUR LINK" class="delete">Link</a>
<a href="YOUR LINK" class="delete">Link</a>
<a href="YOUR LINK" class="delete">Link</a>
</body>
</html>
Sincerely,
Rodolfo Oliveira