<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title><script>
// function
function text(t){
a = document.getElementById('tarea');
a.value = t;
}
</script></head><body><form id="form2" name="form2" method="post" action=""><p><textarea name="tarea" id="tarea"></textarea></p><p><input name="button" type="button" id="button" onclick="text('this is some text')" value="add text"/></p></form></body></html>
__________________
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development time.