Is it possible to select all input text on iphone device when focus / click?
Typically for a browser environment one would use:
$('input').bind('click focus', function() {
$(this).select();
});
This works for desktop browsers but appears unresponsive for iPhone and presumably other mobile devices.
touchstart
andmspointerdown
to the list of events? If this doesn't work, it may be blocked by the mobile OS, like controlling audio levels on video objects is. – Albrecht