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: |
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 : http://jsfiddle.net/yJRnx/4/
Comment the alert function in the "select" event and all is working!
Note: See
TracTickets for help on using
tickets.
Well,
alert()
moves focus and generally breaks stuff. You shouldn't usealert()
in your code.