1
I need to do a function in jQuery or Javascript, which finds all items with a particular css class and add a parameter for this class, a different color for example.
I will put on a button, after clicking the first time, the second time he has to remove this parameter.
<button type="button" id="btn">Clique</button>
<div class="mudar">TEXTO QUE VAI MUDAR DE COR</div>
<div class="mudar">TEXTO QUE VAI MUDAR DE COR</div>
<div class="mudar">TEXTO QUE VAI MUDAR DE COR</div>
<div class="mudar">TEXTO QUE VAI MUDAR DE COR</div>
...
Exactly what I wanted friend, thank you very much.
– J. Marco