I would like to make an input window that, when the user selects it, selects all the text in the field. So I decided to use the select() function, which I would like to achieve. However, it works as I expected on desktop browsers, but not on Safari on the iPad. How to solve the problem? Thanks.
$('#input').click(function(e){ $(this).select(); });
javascript jquery html mobile mobile-safari
user782104
source share