views:

26

answers:

1

Hi Guys,

I am trying to use the catcomplete part of the JQuery Autocomplete but it is not working.

I get this error Jquery Object # has no method 'catcomplete' Here is my code

$('#searchForDelegate').catcomplete({
   delay: 0,
   source: data
  });

I have checked the Jquery and there is no function for catcomplete.

Any ideas ? Just so you know, when I use autocomplete it works fine.

Dave

A: 

This might be stating the obvious, but catcomplete isn't part of jQuery UI Autocomplete.

The Categories demo for Autocomplete happens to create its own UI widget class called catcomplete but that's only an example, not part of the jQuery libraries themselves.

If you need the same functionality as the catcomplete widget, you will need to duplicate it within your own code.

scronide