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: |
Description
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 comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
Well,
alert()
moves focus and generally breaks stuff. You shouldn't usealert()
in your code.