Results 1 to 2 of 2

Thread: showing and hiding form elements

  1. #1
    Join Date
    Dec 2005

    showing and hiding form elements

    Hopefully this is in the right forum for this (it's a DHTML/CSS/JavaScript question)

    I am trying to do pretty much exactly what is being done here:


    The problem is, it doesn't work in Mozilla or Firefox.

    Is it possible to do this and have it work in all browsers?

    I've searched around, but I haven't had any luck finding anything yet.
    Maybe someone here can save me some time and let me know if it's even possible.

  2. #2
    Join Date
    Jul 2005
    Show / hide form elements script

    AUTHOR: JS-Examples
    TYPE: Freeware
    BROWSERS: IE 4+, IE 6+, NS 4+
    that's inaccurate. It's not compatible with Netscape 6+, Mozilla, or Firefox.

    document.getElementById() should be used instead of document.all and document.layers.
    Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions

    Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

    Check out my blog.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center