Jump to content

Archived

This topic is now archived and is closed to further replies.

Shad

hide/show

Recommended Posts

[code]function showhide(name) {
var object = null;
object = document.getElementById(name);
if (object.style.display == "none") { object.style.display = ""; } else { object.style.display = "none"; }
}[/code]

why doesn't this work in firefox?

Share this post


Link to post
Share on other sites
What doesn't work about it? Maybe you have to set it to block, not ''.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.