Skip to content
Advertisement

Dynamic way to hide divs vanilla javascript

Is there a more dynamic way to hide/show divs that are identical in structure with no identifiers? Click to show I’m some stuff

JavaScript

http://jsfiddle.net/ba7yfmz6/29/

Advertisement

Answer

Use this:

JavaScript

JavaScript:

JavaScript

Hopefully this helps!

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement