Grazie 1000 ho usato getelementbyid ed è tutto ok