I'm using jQuery mobile, I now want to make an input text field to be highlighted when tapped.
I'm using this:
$(document).ready(function() {
$('.highlight').focus(texty_focus);
});
function texty_focus() {
var input = $(this);
setTimeout(function() {
input.select();
},10);
}
But it's not working on my mobile. Any suggestions?