When I click on myButton1 button, I want the value to change to Close Curtain from Open Curtain.HTML:
myButton1
Close Curtain
Open Curtain
<
This worked fine for me. I had multiple buttons which I wanted to toggle the input value text from 'Add Range' to 'Remove Range'