I am trying to extend your dynamic list example to work for 3 drop down lists. 
 The name of lists are 
 1.typeList 
 2.dynamicList 
 3.colorList 
 here is the code i am trying to extent.
 
 --------------------------------------------------------------------------------------------------------- 
 
var selectedValue = this.value;
 
 var data = { 'fruits': ['orange', 'apple', 'banana'],  
              'vegetables': ['onion', 'carrot', 'tomato'] 
       'color': ['green', 'yellow','orange','red', 'brown'] 
 };
 
 var dropDown3 = $('[name=colorList]'); 
 dropDown3.html(''); 
 var newData = data[selectedValue];
 
 for(i = 0; i < newData.length; i++) { 
    dropDown3.append('' + newData + ''); 
 } 
 dropDown.selectmenu('refresh'); 
 --------------------------------------------------------------------------------------------------------- 
 
so basically if fruits and banana was chosen from list 1 & 2 then the colorList should be filtered to show just "yellow". 
 I have it working for 2 but I can get it working for 3. 
 There is other ways using Switch case statements but i would like to use the JavaScript from your tutorial as i have used it on other screens and would like to keep my code consistent. 
 Thanks again Max