I am wondering how I can hide all divs on the page only using Javascript, I cannot use Jquery. Is there a way to do this without using the arrays that comes with document.getElementByTag? Or if there is not, could you show me how to hide all? Thanks!
PhilEaton
0
Newbie Poster
Recommended Answers
Jump to PostHi there,
You can use jQuery if you want some cool effects. have a look at jQuery
in pure javascript, you'd need something like the below code. This does what you want using …
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.