risolto in questo modo:
getElementById('nome_tag').innerHTML = "testo";
E' possibile aggiungere sia testo che altri tag...