Sample code
onKeyUp="out.value=txa.textLength"



ArrayMethod