I wrote small function. When i type something in input (text input) and then click on this input, all text highlights, so user can delete long text, without typing backspace many times.
$('.search').mouseup(function(){
var save_this = $(this);
save_this.select();
save_this.setSelectionRange(0, 9999);
});
This works well for android and desktop, but not for IOS. Any ideas ?
Here i see, that on IOS while on click from, or to, text is selected.