codice:
function checkText(obj, out){
	var maxLength = parseInt(obj.maxlength);
	((maxLength - obj.value.length) < 0) ? cRem = 0 : cRem = (maxLength - obj.value.length);
	document.all[out].innerHTML = "Caratteri disponibili: " + cRem;
	if (obj.value.length > maxLength){
		var newVal = obj.value.substr(0, maxLength);
		obj.value = newVal;
	}
}

<textarea name="descrizione" cols="20" rows="10" id="descrizione" onblur="checkText(this, 'note')" onchange="checkText(this, 'note')" onfocus="checkText(this, 'note')" onkeypress="checkText(this, 'note')" onkeyup="checkText(this, 'note')" onkeydown="checkText(this, 'note')" maxlength="1200"></textarea>
<div name="note" id="note">Caratteri disponibili: 1200</div>
ciao, questa funzione va con IE ma niente con FF come sistemarla? La suddetta funzione permette di contare i caratteri inseriti nella textarea.