jQuery autocomplete @mention
问题 I have this autocomplete plugin from Andrew Whitaker - DEMO Lets say I have a string in a textarea "@peterwateber welcome" I want it to output in a hidden tag as "@[peterwateber] welcome" how should I do it? I'm not that good at Javascript... I've tried looking at this code here from Hawkee 回答1: I wrote the original code mentioned here and have fixed the menu problem Peter was having: http://www.hawkee.com/snippet/9391/ 回答2: Hiya Working demo here: http://jsfiddle.net/67dxH/ Already had good