Change image in table on button click

Hi,

i’ve a table containing rows, each row has a text, an image and a button.
image can be of two kinds : on/off
the button acts as a toggle
when the button is clicked, i want to toggle the image between on and off.

How can i achieve that ?

Thanks


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.