Exemplo de script java

document.getElementById('ID').innerHTML = 'New text';
Programmer