/* to the END */
$('textarea').each(function(){ //change event or something you want
/* simple js */
if (this.createTextRange) {
var r = this.createTextRange();
r.collapse(false);
r.select();
}
$(this).focus(); //set focus
});
/* to the BEGIN */
$('textarea').each(function(){ //change event or something you want
/* simple js */
if (this.createTextRange) {
var r = this.createTextRange();
r.collapse(true);
r.select();
}
$(this).focus(); //set focus
});