@MojtabaMosavi
Posted
-
The bug cusing the question not to close is caused by the inline
<div class="accordion_collapse collaspe" style:"display:block;">
. The functionality that you are tring to implement is:- 1 if button clicked display the answer
- 2 if the button gets clicked again hide the answer
- 3 if any other question clicked hide the current one that' You've already the code for 1 and 2 if you revome that line the set the inline style in js.
-
Spend some time reading about the mobile frist workflow because it makes it easier to develop responsive applications. Keep coding :=)
Marked as helpful
@asadLjerry
Posted
@MojtabaMosavi THANKYOU!