lundi 21 avril 2014

set the curser to the beginning of textarea using jquery


Vote count:

0





$('#mytextarea').val('')


After empty a textarea with Jquery, the cursor is still at the end of the input, how could one move the cursor to the beginning of the textarea?



asked 11 secs ago






Aucun commentaire:

Enregistrer un commentaire