Sakshi Sharma Sakshi Sharma - 3 months ago 27x
jQuery Question

Triggered @mention Autocomplete like Facebook, Twitter and Google+

I have been trying to make something like Facebook @tagged Friend name add in text area. I have been using jquery ui auto-complete to do the job , it's working fine except that I want some symbol such as @ or ~ to start the tag, I can't figure it out how. Anyone has ideas ? I'm using it for multiple tag of friends just like Facebook.


I wrote a plugin to accomplish this:

    hidden: '#hidden_inputbox',
    source: "/search.php",
    trigger: "@"