Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working : Uncaught TypeError: jQuery(...).typeahead is not a function #15

Open
vincentducorps opened this issue Feb 22, 2016 · 2 comments

Comments

@vincentducorps
Copy link

Hi,

I have an error in the console:
Uncaught TypeError: jQuery(...).typeahead is not a function

I don't understand why...
jQuery is well loaded.

@vincentducorps
Copy link
Author

@winkelsdorf
Copy link

@vincentducorps typeahead is a library on it's own (typeahead.bundle.js). Try to check if it's loaded, too. It's located in /skin/frontend/base/default/js/autocomplete: https://github.com/winkelsdorf/magento-autocomplete/tree/development/skin/frontend/base/default/js/autocomplete

Probably an incompatible, newer version of jQuery is loaded with your theme (but this should work due to jQuery.noConflict() being used). Anyway, you could try updating typeahead from twitter's project site on gh: https://github.com/twitter/typeahead.js

As I am currently not involved in any magento development, that's the only help I can give..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants