I'm trying to hide and show divs using object.style.display = hidden and block. Apparently "block" works in IE? It doesn't work for me though...

this should work:

object.style.display = "block";
object.style.display = "none";

"hidden" doesn't work on .display, only on .visibility

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.