Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#6237 closed bug (notabug)

query.autocomplete.js doesn't work with jquery-ui.min.js library

Reported by: jakub.bargiel Owned by:
Priority: critical Milestone:
Component: ui.autocomplete Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:

Description

On the one page I use:

http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js

and

<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

When I try to type in a text box, autocomplite function trigger some function from jquery-ui library and error message appear.

Error message point out this function: "function(d,f){a.xhr&&a.xhr.abort();a.xhr=e.getJSON(c,d,function(g,i,h){h===a.xhr&&f(g);a.xhr=null})}}else this.source=this.options.source}..."

Are we able to do something with this. On the next week our client will start acceprance test for our current system iteration and this bug will be a big problem for as.

Thanks in advance Jakub

Attachments (1)

Autocomplete_error.png (171.0 KB) - added by jakub.bargiel 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by jakub.bargiel

Attachment: Autocomplete_error.png added

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

Resolution: invalid
Status: newclosed

That's not the jQuery UI autocomplete. There's no reason to load jQuery UI and the old autocomplete plugin at the same time.

comment:2 Changed 9 years ago by jakub.bargiel

Resolution: invalid
Status: closedreopened

When I removed <script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js"></script>

and leaved only : <script src = '<%# Page.ResolveUrl(Assets.JavaScript.GetUrl("jquery-ui-1.8.5.custom.min.js").ToString()) %>' language="javascript" type="text/javascript"></script>

I reveice this same error. So please tell me what is the solution for this issue ?

comment:3 Changed 9 years ago by Scott González

Resolution: invalid
Status: reopenedclosed

I have no idea what you're doing, but it's not a problem with jQuery UI. Please use the forums for help.

comment:4 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.