28 Feb
Upgraded jQuery Tag Suggestions
After lots of great feedback, I've upgraded the jQuery Tag Suggest Plugin.
This post covers the fixes and upgrades.
Fixes
- Clicking between suggestions
- Mixed case tags confusing suggestions
- Subtle bug when deleting suggestions in the input field
Upgrades
- Patched in separator option (via - cheers Brian)
- Added filtering to prevent already selected tags appearing in the suggestions
If you have any further feedback or suggestion that can make the tagging plugin better, please drop me a comment.
You should follow me on Twitter here I'll tweet about JavaScript, HTML 5 and other such gems (amongst usual tweet-splurges)
Hi there, great upgrade... but.
Is the tag filtering enabled by default? Or am I missing something? It's not working!
Hugs!
The filtering is turned on by default (since it makes sense to always have on).
I think you may be running from a cached copy of the script - make sure this link shows version 1.3:
http://remysharp.com/downloads/tag.js
I've got fairly aggressive caching on my server side.
[...] Yesterday remy sharp update jQuert Tag Suggentions plugin a list of fixes can be found here. [...]
Remy,
The filtering is really a nice thing to have, but it is not applied when you get the suggestion using url. You can check a new patch I made http://bcardiff.googlepages.com/Tag-ApplyFilterWhenUsingUrl.patch .
Nice work!!
Bah - you're right. I forgot to add that. I'm not quite sure I want to use $.grep in every case, or whether just on the Ajax hit...either way, I'll plug that in shortly.
Cheers for the catch!
@Brian - superb. I've added the patch in with a slight amend to handle ignoring casing. Cheers.
[...] jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is [...]
[...] are not loaded. When scrolling down they are loaded when needed.Check out their demo page 45) jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is uses.Check out their demo [...]
Can you make the suggestion be ANY character in a string instead of the starting character?
If you dont like the idea. What line should be modified for this to work?
This on is working, but with Ajax, but i need it to be with local data sources
http://wiseguysonly.com/demos/ajax-autocompletion/autocomplete.php
As a reference link, I leave you a "winamp autocomplete" imitation forum thread
http://www.ozgrid.com/forum/showthread.php?t=45097
This is what i need with your script.
Thanks.
I've just suggest in http://plugins.jquery.com/node/1947 the usage of async requests to request suggestions.
[...] out their demo page 45) jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is [...]
[...] out their demo page 45) jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is [...]
[...] out their demo page 45) jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is [...]
[...] out their demo page 45) jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is [...]
Is there an easy way to have certain tags show up by default before the user begins typing anything? Thanks!
[...] example using the tagSuggestion [...]
plz any bdy help me how to do "column resizing" n "column swapping" in table using jQuery
[...] are not loaded. When scrolling down they are loaded when needed.Check out their demo page 45) jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is uses.Check out their demo page ' [...]
Hi Remy, in FF 3.0.7 and TagSuggest 1.4, using jQuery 1.3.2, i found a bug.
Line 174: tagsElm.blur().focus();
blur() seems to be responsible for an error. If i remove it to: tagsElm.focus(); then it works ok. I checked it on FF 3.0.7 (mac) with last version of jQuery only. Hope these informations will help. Greetings, Michal/mono
Is it possible to preserve the case of the words in the list, rather than convert everything to lower case and only convert it to lower for comparison?
Thanks for the great plugin.