Jump to content

Issue With A jQuery Autocomplete/Infinite Scroll


phdphd

Recommended Posts

 Hi All,

 

I have an html input tag with an associated jquery autocomplete feature. So far, I have been using the following jQuery setting :

 

jquery-1.9.1.js

http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.css

http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js

 

 

Now, since the list may contain a lot of items and take some time to load if the user types a string that appears in many items, I want  to associate an infinite scroll with the autocomplete feature. The infinite scroll would load items 5 at a time when the user scrolls the list down.

 

I found a jsfiddle (http://jsfiddle.net/EVsye/83/) based on a previous jQuery setting (jquery 1.7.2, jquery UI 1.8.18) that illustrates this feature.

 

I tried to update this jsfiddle to my jQuery setting.

 

However there are 2 issues :

 

1. The user cannot select an item in the list.

2. Items beyond the 5th one seem to have no css applied to them (they are not aligned to the first 5 ones and the mouseover formatting has no effect on them).

 

I would much appreciate your help.

 

My jsfiddle : http://jsfiddle.net/Lp6zP/

 

Thanks!

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.