Monday, April 25, 2005

Java Script for putting corsor at the end of text in text area

Java Script for putting corsor at the end of text in text area

//Set focus for text area.
function setFocus(){
tr = document.forms[0].TextAreaName.createTextRange();
tr.collapse(false);
tr.select();
}

0 Comments:

Post a Comment

<< Home