imankulov / asuggest Goto Github PK
View Code? Open in Web Editor NEWJQuery textarea suggestion library
JQuery textarea suggestion library
If the text in textarea overflows (so that vertical scroller gets shown), using the arrow keys scrolls the textarea to the top, hiding the oveflown text. This is annoying if you are panning around the overflown text - ie if the scroll top should not be zero.
Great library by the way, we are planning to use it in our Ukrainian miniblogging service http://friendbuzz.net - keep up the good work!
We would really appreciate if this bug is fixed. A great thank you!
This is a more sort of a feature request. Having conducted a very small usability study, we concluded that with this autocompleter, it would be great when pressing Space on the Tab-cycled input, the autosuggested value would not be replaced but rather the autocompletion should finish and the space appended after the suggestion.
The wordpress not like $-selector,please use the jQuery.noConflict mode
Just been using asuggest to implement autocompleting in a posting UI โ I've noticed that the code here on github doesn't work properly. It only suggests the first time you start typing one of the suggestions, after that nothing happens.
I grabbed the source from http://imankulov.github.com/js/jquery.asuggest.js and it works perfectly.
Also, I have tested asuggest with jQuery 1.8.1 and it works great, so it may be worth updating the supported versions.
Found this bug while trying to right-click and copy a selection from a textarea that has asuggest enabled on it.
This bug is also present on the website:
http://imankulov.github.io/asuggest/
I'm not sure if this is a problem with asuggest or a-tools, but it's present in all the examples. It seems to select the word that cursor is currently over.
Example:
Selected the entire line "The quick brown fox jumps over the lazy dog".
Right-clicked the line and it isolated the selection down to "brown":
http://dl.dropboxusercontent.com/u/370338/Screenshots/74.png
Testing your script on http://imankulov.github.io/asuggest/ I found the issue in all examples with delimiters, that if you clear the box completely and then start typing one of the autocompletion keywords, autocompletion will kick in even without the delimiter character present.
The delimiter, when defined, should always be required to trigger autocompletion, no matter how many words are already present in the box when typing.
Hi,
I would like to use asuggest in a form, where the tab is used to move around fields.
Is there a way to preserve the tab and use a different key to trigger the suggest cycle?
Thanks
Marco
Unfortunately, asuggest does not work in IE8, and, obviously in older versions. It just shows the first suggested value, does not cycle on tab or allow entering first filtering characters. In fact, it seems that the field selection is not working there.
Very cool plugin but for outdated jquery version.
With basic overview, features, usage. Just a pair of paragraphs will help a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.