0

Toggle button using toggle() function

I'm trying to make a toggle button with toggle function () but after I tried it why ul I omitted with display: none; does not appear when I have added activeul class by using function toggle () but why not succeed please help thank you. https://code.sololearn.com/WZLZ905kEzG7/?ref=app

14th Jul 2018, 10:43 AM
Hafizd Jubaidir
Hafizd Jubaidir - avatar
3 Respuestas
+ 2
ul.style.display = "block";
14th Jul 2018, 3:27 PM
Calviղ
Calviղ - avatar
+ 1
.activeul{ display:block !important; }
14th Jul 2018, 11:27 AM
Calviղ
Calviղ - avatar
+ 1
Calviղ is there any other way besides that?
14th Jul 2018, 1:48 PM
Hafizd Jubaidir
Hafizd Jubaidir - avatar