Shad Posted October 24, 2006 Share Posted October 24, 2006 [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? Quote Link to comment Share on other sites More sharing options...
fenway Posted October 26, 2006 Share Posted October 26, 2006 What doesn't work about it? Maybe you have to set it to block, not ''. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.