how can I change the value of a textarea or textfield
// Clean button
$('#textfield').val('');
without losing the focus?
I create at the moment an webApp and the smartphone (android) loosing the focus (and the keyboard disappears) when i click on the cleanButton ... i must click on/in in the textfield again to write further (not good usability :/ )
Any ideas?
BTW.: this $('#textfield').val('').focus();
does not work.