0
I have the following button on the page:
<div class="col-xs-12 col-sm-2" >
<div class="">
<a class="btn btn-info btn-sm btn-raised marginRight10" id="adicionar" onclick="AddHistorico()"><i class="material-icons">add</i> <span class="marginLeft5">@QJW.Resources.Palavra.ADICIONAR</span></a>
</div>
</div>
I need to remove it after the onclick
:
<td class="text-center">
<a class="btn btn-mini btn-raised btn-info margin0" onclick="AlterarHistorico()">
<i class="material-icons">create</i>
</a>
</td>
Inside this button (shown above) has a function AlterarHistorico()
I want to put the remove function inside her
I tried that way but I have no knowledge with jQuery
$(".remover").click(function () {
var adicionar = $(this).attr("adicionar");
$("#remover" + adicionar).remove();
});
Pq does not only use $(this). Hide() within Function ?
– hugocsl