Page 1 of 1

Combo box isn't working???

Posted: Thu Aug 02, 2007 9:50 pm
by cturner
I am wanting to display some certain form fields once a selection is made from a combo box. Can someone please have a look at my code and tell me why it isn't working? Here is my code: http://www.blueguminteractive.biz/code.txt. Thanks in advance.

Posted: Thu Aug 02, 2007 10:41 pm
by iknownothing
ever heard of Else If...

Eg.

Code: Select all

if (a == "company) {
//DO STUFF
}
else if (a == "Partnership") {
//DO OTHER STUFF
}
else {
//DO WHATEVER IS LEFT TO DO
}
Also, Im not sure if IE like CSS VISIBILITY, perhaps try CSS DISPLAY instead.