Skip to main content

Search and Top Navigation

#8880 closed bug (wontfix)

Opened December 04, 2012 03:03PM UTC

Closed December 04, 2012 03:28PM UTC

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!

Attachments (0)
Change History (1)

Changed December 04, 2012 03:28PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

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