Could be cool if the function selectAll could also work on mobile devices. I have tested on iPhone 5 Safari, and it doesn't seem to work. Otherwise, the selectAll could instead clear contents if on a mobile device, as a quick-fix.