I have tried a few different approaches to updating the text colour of a button with javascript but none have worked:
document.getElementById(elementID).textContent.fontcolor = "red";
document.getElementById(elementID).textContent.fontcolorstyle = "red";
document.getElementById(elementID).textContent.style = "red";
So my question is how do you access the text of a button and change the colour with JS?