I'm looking for a script that will enable to same web page button to run different scripts and/or events depending on how many times it has been clicked.
Example:
button <Room1>
- clicked 1st time, runs 'room1-on' event
- clicked 2nd time, runs 'room1-off' event
anyone have anything like this?
Example:
button <Room1>
- clicked 1st time, runs 'room1-on' event
- clicked 2nd time, runs 'room1-off' event
anyone have anything like this?
Comment