I have a pure HTML page hosted on the server. I want to do two actions when a button pressed. I setup a button like below.