I am in a mobile app and I use an input field in order user submit a number.
When I go back and return to the page that input field present the latest number input d
To reset text, number, search, textarea inputs:
$('#shares').val('');
To reset select:
$('#select-box').prop('selectedIndex',0);
To reset radio input:
$('#radio-input').attr('checked',false);
To reset file input:
$("#file-input").val(null);