I need to get the selected index and/or value after the onchange event in a combo box. Here is what I have tried:
var el = Ext.get('mycombobox');
I was expecting the alert to return 0 or 1, based on what I selected. But the alert returned 'undefined'.