I have a triple drop down menu and when I select an option for first drop down, based on that I get the values populated in the second drop down but these values in the second drop down do not clear even though I change the change the option of my first drop down. I am facing this problem with Chrome. In Firefox it works fine. Could some one tell me how to clear the previous selection contents. I have pasted my code in the pastebin

http://paste.flingbits.com/m05ef5d2

Could any one help me with this please.

CuteKate,

In the context you use it, this.value is unreliable.

Try this[this.selectedIndex].value instead (in 3 places).

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.