Change style or class of button by script
-
Hi,
I am looking for a way of having buttons ([su_button]) staying pressed when clicked.
For instance, with two buttons : “Odd categories”, “Even categories”.
When I click on “Odd categories”, the button stays pressed. If clicked again, it returns to “normal” state.
Same thing with second button.
They act as “selectors”.
I don’t know how to do that, except by changing css classes with Javascript code. Is there other ways ?
- The topic ‘Change style or class of button by script’ is closed to new replies.