Check out my latest project: Code Dumper

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

  1. Clicking between suggestions
  2. Mixed case tags confusing suggestions
  3. Subtle bug when deleting suggestions in the input field

Upgrades

  1. Patched in separator option (via - cheers Brian)
  2. 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.

10 Responses to “Upgraded jQuery Tag Suggestions”

  1. Hi there, great upgrade... but.
    Is the tag filtering enabled by default? Or am I missing something? It's not working!

    Hugs!

  2. 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.

  3. [...] Yesterday remy sharp update jQuert Tag Suggentions plugin a list of fixes can be found here. [...]

  4. 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!!

  5. 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!

  6. @Brian - superb. I've added the patch in with a slight amend to handle ignoring casing. Cheers.

  7. [...] jQuery Tag Suggestion- The same tag suggesting as-you-type support that del.icio.us is [...]

  8. [...] 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 [...]

  9. 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.

  10. I've just suggest in http://plugins.jquery.com/node/1947 the usage of async requests to request suggestions.

Leave a Reply
Not required

CODE: Please escape code and wrap in <pre><code>, doing so will automatically syntax highlight