I have this code :
<label class='textFontSmall center' for="usr" id="addNameText">BOB</label>
And I want the ability to change the text from BOB to Cliff. I have tried 4 different ways :
document.getElementById('addNameText').value = 'CLIFF';
document.getElementById('addNameText').text = 'CLIFF';
document.getElementById('addNameText').html = 'CLIFF';
document.getElementById('addNameText').innerHtml = 'CLIFF';
None of these work. How come ? I must be missing something simple