click Buttons to change type of button object:
Demonstrating Two Ways to Retrieve Property for Button1
Using getElementsByTagName: button
Using getElementById: button