change state of switch button after clicking it
Posted: Thu Apr 16, 2015 1:12 am
Hi guys,
I have a button with an image of a switch (state - off) inside. The user clicks it, specific Bit is changing from 0 -> 1, and the image in the button should be "replaced" with a switch with state on, and vice versa.
How can you flip the switch image in the button after performing a click? I don't want to clone the same page with a switch on.
Thanks for your help!
Cheers, ControlMotion
I have a button with an image of a switch (state - off) inside. The user clicks it, specific Bit is changing from 0 -> 1, and the image in the button should be "replaced" with a switch with state on, and vice versa.
How can you flip the switch image in the button after performing a click? I don't want to clone the same page with a switch on.
Thanks for your help!
Cheers, ControlMotion