Ticket #6237 (closed bug: notabug)

Opened 3 years ago

Last modified 7 months ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 3 years ago by jakub.bargiel

comment:1 Changed 3 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to invalid

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 3 years ago by jakub.bargiel

  • Status changed from closed to reopened
  • Resolution invalid deleted

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 3 years ago by scott.gonzalez

  • Status changed from reopened to closed
  • Resolution set to invalid

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 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.