+ 2
nameButton() is declared inside the onload() function, which makes it private to onload / not globally-defined. FYI, indentation helps you see these sorts of problems more easily (auto code beautifiers help).
27th Nov 2018, 5:41 PM
Kirk Schafer
Kirk Schafer - avatar