How to manipulate the "onclick" event of a html button element with JavaScript?
===

document.getElementById("RightButton").innerHTML="Back to Question";
document.getElementById("RightButton").onclick=GoBack();

That's the code I wrote to solve the problem. The first line successful changed the name of the button, but the second line simply doesn't work. 

As you may have discovered, I'm totally a newbie. If you say any jargon, it will probably take me another question to figure out the jargon. 

Thank you!


