tlphipps wrote:
> 
> 
> Hopefully this will help someone...
> 
> I noticed that Joern's autocomplete plugin uses the .eq() function
> which was deprecated and removed in jQuery 1.2.  I was able to replace
> the .eq() calls with .slice() calls and get things running.  Hope this
> helps somebody else.
> 
> Here are the two locations to change:
> Line 658:
> Original: listItems.removeClass().eq(active).addClass(CLASSES.ACTIVE);
> Updated:
> listItems.removeClass().slice(active-1,active).addClass(CLASSES.ACTIVE);
> 

I think this should be
listItems.removeClass().slice(active,active+1).addClass(CLASSES.ACTIVE);



> Line 690:
> Original: listItems.eq(0).addClass(CLASSES.ACTIVE);
> Updated: listItems.slice(0,1).addClass(CLASSES.ACTIVE);
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Joern%27s-autocomplete-plugin-with-jquery-1.2-tf4422835s15494.html#a12617241
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to