Freebase Suggest Widget is a nifty jQuery plugin that allows you to create input boxes that autocomplete as users type, queried in realtime using Google's Freebase.

However, the most recent version of Freebase Suggest Widget (4.2) is incompatible with recent versions of jQuery. Starting with version 1.9, jQuery removed $.browser, which Freebase Suggest depends upon to detect Internet Explorer.

If you've been getting console errors like this when trying to use Freebase Suggest

Uncaught TypeError: Cannot read property 'msie' of undefined     suggest.min.js:41
Uncaught TypeError: Cannot read property 'val' of undefined     suggest.min.js:45
Uncaught TypeError: Cannot read property 'removeData' of undefined     suggest.min.js:50
Uncaught TypeError: Cannot read property 'data' of undefined     suggest.min.js:46

then it's likely that your version of Freebase Suggest and jQuery are incompatible.

Until Freebase Suggest is patched to fix this issue, your choices are:

  1. Use jQuery 1.8 and below.

  2. Add the jQuery Migrate Plugin to your page. (This restores $.browser and some other depreciated functions.)

  3. Download a version of Freebase Suggest 4.2 that I've already patched.

Copyright © 2017. All Rights Reserved.

Theme based on Ghostium.

Published with Ghost