- <ul class="dropdown-menu">
- <li class="header">Esercizio Contabile</li>
- <li>
- <a href="#" class="esercizio">
- <i class="fa text-aqua"></i> 2018
- </a>
- <a href="#" class="esercizio">
- <i class="fa text-aqua"></i> 2017
- </a>
- </li>
- <li class="disabled">
- <a href="#" class="esercizio">
- <i class="fa fa-warning text-yellow"></i> 2016
- </a>
- </li>
- </ul>
and I would add a class ('fa-check-circle') in 'i' when the user click on 'a' and delete all class ('fa-check-circle') in the other 'li'
Actualy I can add class, but I don't know how delete the all class.
This is my jquery code: