Ciao, non riesco a capire una cosa:
Con questo codice, al cambio di selezione in un combobox, non mi dovrebbe apparire nella finestra output un "ciccio" ??
perchè non avviene nulla?
codice:myComboBoxListener = new Object(); myComboBoxListener.change = function(eventObj) { var eventSource = eventObj.target; var theSelectedItem = eventSource.selectedItem; var theSelectedItemLabel = theSelectedItem.label; // ID = theSelectedItemLabel; trace("ciccio") } myCombo1.addEventListener ("change", myComboBoxListener);


Rispondi quotando