How can I make an HTML button looks like pressed via JavaScript?
I have a button that is sending a network message while pressed and sending another network message when released.
This specific named button may be displayed on more than once in a page or more than one device. So, if any of the identical purpose buttons pressed, I need to make the rest of the copies look like pressed.
How can I achieve that behaviour?