4
I have the following label created by a plugin
<label>
Buscar:
<input type="search" class="form-control input-sm" placeholder="" aria-controls="Pedidos">
</label>
What I want to do is just change the "Fetch" by something X.
I tried it this way but without success
var Label = $('#Pedidos_filter').find('label').html();
$('#Pedidos_filter').find('label').html(Label.replace('Buscar','x'));
How could it be proceeding?