Comments (1)
That looks sensible, although a bit slower.
I'm thinking of ding a major update to make the HTML output match
Bootstraps Typeahead CSS, which would result in
ul > li > a and the corresponding HTML markup.
I'll see about implementing your fix before that. Thanks!
On Tue, Mar 20, 2012 at 01:15, Chris Basham
[email protected]
wrote:
dyve, been working with this plugin today, and I love the flexibility. However, my custom results markup includes a nested UL. In your current implementation, selection of LI finds all the LI's in the result DOM, instead of just the highest level ones, used specifically for autocomplete. Consequently, any nested LI gets "selected" and forces the user to press the up/down keys for each of these items.
My solution was to replace all three occurrences of:
$('li', this.dom.$results)
with$('>ul>li', this.dom.$results)
.
Reply to this email directly or view it on GitHub:
#29
from jquery-autocomplete.
Related Issues (20)
- FilterResults works better than filter. Filter inserts a superfluous <li>
- onNoMatch called way too late
- Add an option "destroy"
- Suggestions don't appear HOT 1
- Vertical position fix
- autocomplete dynamic with data pass HOT 2
- Does not permite functions as extraParams HOT 1
- Narrowing down search suggestions HOT 1
- Improved Autocomplete
- IE11 Scroll is not moving when we click on down arrow of the scroll bar in scrollable results section
- input created with weird values
- Ignore accents when typing
- cannot Consider for last part of the string to autocomplete HOT 1
- headers already sent error HOT 1
- Please, add to doc HOT 1
- firefox minChar no work
- if i have a select to chang input autocomplete url,what should I do?
- Add autocomplete argument to beforeUseConverter
- Empty server response may be interpreted as one "empty" result
- Multiple result divs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-autocomplete.