Tracking keystrokes in a combobox?
Is is possible to have a listener event that is triggered any time a keystroke is made in a combobox component? From reading the documentation, it looks like I should build a listener based on the textField property of the combobox. This is what I tried:
objComboListener = new Object();
objComboListener.change = function(eventObj){
trace(" inside change ");
}
myCombo.textField.addEventListener("change", objComboListener);
but nothing gets fired.
Thanks for any input.
|