basic autocomplete framework

Uncaught typeerror $(…).autocomplete is not a function jQuery UI

Rate this article

Share this article
Share on facebook
Share on twitter
Share on linkedin
Share on email

Read uncaught typeerror $(…).autocomplete is not a function jquery ui for more information.

This is error shows up when you happen to load more than one copy of jQuery. jQuery UI plugs into jQuery, and so if you load another jQuery, it will simply overwrite the first jQuery, and then jQuery UI will no longer be present. There are ways of using multiple versions of jQuery on the same page without this happening, but it is really best to make sure that everything is up to date so that you can use only one version – preferably the latest.uncaught typeerror $(...).autocomplete is not a function jquery ui Another case of getting TypeError: $(…).autocomplete is not a function is when you miss the jQuery UI library. Use CDN of Jquery UI or if you want it locally then download the file from Jquery UI.

Solution to TypeError: $(…).autocomplete is not a function:
<link href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" rel="Stylesheet"></link>

<script src="Your jQuery source path"></script>

<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js" ></script>

Searches related to uncaught typeerror $(…).autocomplete is not a function jquery UI

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

You may also like
Hold on!
We’ve gathered our industry knowledge and are sharing hacks, tips to increase e-commerce revenue. Contains best tips for scaling up your ecommerce business.