I'm presented with this particular element:
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
My goal is to utilize jquery (or vanilla javascript) in order to dynamically change the value of aria-expanded to alternate between true and false.
Any insights on how I can achieve this task?
Appreciate your help!