I have the following code to select all the contents of my input
element that has id="embedurl"
$('#embedurl').focus(function(event) {
setTimeout(function() {
$('#embedurl').select();
}, 0);
});
It works fine on desktop, but in iOS nothing gets selected.
Any idea how I could fix that?
Thanks!