this might get you started
PHP Code:
// arrays of labels and data
arrLabel = ["Select","Heart Attack","Angina","Flu","Cold","Sprain"];
arrData = [0,10,8,6,4,2];
// populate the combobox - instance name - combo
for(var j=0; j<arrLabel.length; j++){
combo.addItem({label:arrLabel[j], data:arrData[j]});
}
obj = new Object();
obj.change = function(comp){
lab = comp.target.selectedItem.label;
dat = comp.target.selectedItem.data;
};
combo.addEventListener ("change", obj);
// button- instance name - quote_btn
quote_btn.onRelease = function(){
trace(lab);
trace(dat);
};
hth