leggi qui fai confusione col DOM.
Cavicchi Andrea Problemi con javascript, jquery, ajax clicca qui
Regole del Forum