Combo box isn't working???
Moderator: General Moderators
Combo box isn't working???
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.
- iknownothing
- Forum Contributor
- Posts: 337
- Joined: Sun Dec 17, 2006 11:53 pm
- Location: Sunshine Coast, Australia
ever heard of Else If...
Eg.
Also, Im not sure if IE like CSS VISIBILITY, perhaps try CSS DISPLAY instead.
Eg.
Code: Select all
if (a == "company) {
//DO STUFF
}
else if (a == "Partnership") {
//DO OTHER STUFF
}
else {
//DO WHATEVER IS LEFT TO DO
}