click Buttons to change value of button object:








Demonstrating Two Ways to Retrieve Property for Button1
Using getElementsByTagName: button1 - value=button1
Using getElementById: button1 - value=button1