Opened 10 years ago

Closed 10 years ago

#8880 closed bug (wontfix)

Autocomplete problem with alert function

Reported by: tac30100 Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.autocomplete Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:


Hi everyone,

I think you've a problem with the autocomplete in the new version of jquery. The problem appear when i use the "alert" function in the event "select". On firefox :

  • Two "change" events are triggered (one before the "select" event !)

On Chrome:

  • No change event is triggered

So i give you the jsFiddle link :

Comment the alert function in the "select" event and all is working!

Change History (1)

comment:1 Changed 10 years ago by Scott González

Resolution: wontfix
Status: newclosed

Well, alert() moves focus and generally breaks stuff. You shouldn't use alert() in your code.

Note: See TracTickets for help on using tickets.