JSFiddle - React, Tailwind, and code Playground
by Rafael Boschini
HTML
<div id="dados">
<span>
<input type="text" name="op1">
<a href="#" class="remover">Remover 1</a>
</span>
<span>
<input type="text" name="op2">
<a href="#" class="remover">Remover 2</a>
</span>
<span>
<input type="text" name="op3">
<a href="#" class="remover">Remover 3</a>
</span>
</div>
JavaScript
$(document).ready(function(){
$('.remover').bind('click',function(){
console.info($(this));
$(this).parent().css('border','solid 1px red');
//$(this).parent().remove();
});
});