jQuery Freebase Suggest In Place

October 27, 2009 at 08:56 PM | categories: Technical, JavaScript | View Comments |

I just finished my hack of JQuery In Place Editor to work with Freebase Suggest. I call it "JQuery Suggest In Place". Its pretty much the same as JQuery Edit In Place, except it is stripped down a bit to only give you an input text field with a bound Freebase Suggest. You can pass along a type (or array of types) and you get back the results by supplying a callback function. Here's an example of how it works with a City/Town selector:

Click Me!
And the code to do the above:




Download the source to my jquery.suggestinplace.js hack, under BSD license.

Niall O'Higgins is an author and software developer. He wrote the O'Reilly book MongoDB and Python. He also develops Strider Open Source Continuous Deployment and offers full-stack consulting services at FrozenRidge.co.

blog comments powered by Disqus