... maria75 e benvenuta nel forum !
Già provato così ?

codice:
var valore=document.nomeform.nomecampo.value;
alert(typeof(valore));
Fammi sapere !