Sachini / freebase-suggest

Automatically exported from code.google.com/p/freebase-suggest
Other
0 stars 0 forks source link

Unbind suggest feature method in API #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I didn't find a method in the API documentation to unbind the suggest feature 
already applied to an input text.

The only way I found is that given an html input with id "suggest" that has the 
suggest feature applied to, to call :
$("#suggest")
                .unbind(".suggest")
                .unbind("fb-select")
                .removeData("suggest");

could there be a method in the API to do something similar? 

Thanks and very nice plugin ! 

Original issue reported on code.google.com by Vincent....@gmail.com on 4 Aug 2012 at 7:02