I’ve some code where I’m showing/hiding DIVs based on choices made in 2 select drop downs. This is working great. Now, I’m trying to display a “no results” message when nothing matches the choices.
It’s almost working. The problem is that the “no results” message shows when it needs to, but doesn’t hide when should. Any assistance would be greatly appreciated.
Add an else statement after checking for no result:
Here is your updated jsFiddle : http://jsfiddle.net/hDWAh/8/