codice:
...
function aggiorna_stato(trimestre,indice,data)
{
if (document.pda.elements["StatoFase_"+trimestre+"tr_"+indice].value=="ATT")
{
document.pda.elements["DataCompl"+trimestre+"tr_"+indice].value="";
document.pda.elements["DataCompl"+trimestre+"tr_"+indice].status=true
}
else
{
document.pda.elements["DataCompl"+trimestre+"tr_"+indice].value=data;
document.pda.elements["DataCompl"+trimestre+"tr_"+indice].status=false
}
}
...
<input name="DataCompl<%=ind_trimestre%>tr_<%=indice%>" type="text" id="DataCompl<%=ind_trimestre%>tr_<%=indice%>" value="<%=contenuto%>" size="13" maxlength="10" style="background-color:#CCCCCC" readonly>
...
...non funziona!!
Vincenzo