How do I reset an input field by clicking on a "refresh" glyphicon in Bootstrap 3?
Existing HTML:
<input type="email" placeholder="[email protected]" /><span class="fa fa-refresh"></span>
$('.fa.fa-refresh').click(function(){
$(this).prev().val('');
});