Answer the question
In order to leave comments, you need to log in
Why are the dropdown lists not working?
Code: https://jsfiddle.net/jr3dccdq/ Dropdown
not working when adding
if(this.lastChild.previousSibling.style.display == 'none')
without this comparison operator, everything works, apparently this
inside if
it somehow works differently, but I don’t understand how 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