Answer the question
In order to leave comments, you need to log in
How to do it so that when you click the button again, val="of" would change to val="on"?
Hello.
I have a button
<button class="button" val="off" filter="БлаБла">
<span>БлаБла</span>
</button>
val="off"
changes to val="on"
val="on"
of changing to val="off"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question