I have my following code:
<div class="row">
<div class="col-md-10">
CONTEUDO 1
</div>
<div class="col-md-2">
<a href="#" class="btn btn-primary">Delete</a>
</div>
</div>
<div class="row">
<div class="col-md-10">
CONTEUDO 2
</div>
<div class="col-md-2">
<a href="#" class="btn btn-primary">Delete</a>
</div>
</div>
<div class="row">
<div class="col-md-10">
CONTEUDO 3
</div>
<div class="col-md-2">
<a href="#" class="btn btn-primary">Delete</a>
</div>
</div>
And when I click on "Delete" it has to delete the entire div (which contains the class "row") of its respective content.
How could you do this?