Urgent help -----onchange is not working

i am using firefox 2.0.0.6
the above html will open a a text box and button

step 1: enter into box ‘aaa’ & press button ‘Click Me’
step 2: enter into box ‘aab’ & press button ‘Click Me’
step 3: now if you enter ‘a’ into box then autocomplete drop down will
open
so you can select from that(which r given previously)

but alert is not working

On 3 Apr 2008, at 15:43, Pokkai D. wrote:

step 2: enter into box ‘aab’ & press button ‘Click Me’
step 3: now if you enter ‘a’ into box then autocomplete drop down will
open
so you can select from that(which r given previously)

If I remember correctly onChange on a text input only fires where the
field loses focus.

Fred

Frederick C. wrote:

If I remember correctly onChange on a text input only fires where the
field loses focus.

Fred

yes ,but why onchange is not triggered when the field loss focus at
autocomcomplete only ?

actually that the onchange is not triggered when i select something in
the browsers autocomplete list?