ho un campo text così definito:


<INPUT TYPE='text' NAME='ABILITATO_STRINGA' VALUE='"+ABILITATO_STRINGA+"' size='5' TERM_ABILITATO=\""+ABILITATO_STRINGA+"\">");

dove ABILITATO_STRINGA conterrà o SI o NO.

per saperlo ho scritto una function di questo tipo:

if (document.ASSOCIATERMINALI.elements[j].TERM_ABILITATO=='NO') {non_abilitato=true;break;}");

ma mi dice che

document.ASSOCIATERMINALI.elements[j].TERM_ABILITATO è undefined.
dove sbaglio?


grazie....