PDA

View Full Version : Hide empty chained menus



kitten2781
02-05-2008, 05:11 PM
1) Script Title: Chained Selects

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm

3) Describe problem: I've got the chained menus working but some menu options have less "next step" menus then the others. The issue I'm having is that I can't figure out how to keep the "empty" menus from displaying when they don't need to.

I have this section in the function code:
var _disable_empty_list=true;
var _hide_empty_list=true;

and this in the main code:
var hide_empty_list=true; //uncomment this line to hide empty selection lists
var disable_empty_list=true; //uncomment this line to disable empty selection lists

but, they still appear. Any suggestions?:confused: