views:

349

answers:

0

I have a social networking website with a status update textbox, much like facebook. However I would also like the user to be able to type the @ symbol while typing a new status which brings up an autocomplete option of friends profiles (again the same as facebook does).

When the user selects one it should be included in the status as a link to that persons profile.

I have seen the many autocomplete plugins for jquery, including the fcbkComplete plugin but these will only allow you to choose items from the JSON data, and not include your own text also.

For example I may want to type: "I was looking at @Paul Hinett's profile today and noticed he is friends with @Jack"

The 2 profile names should be links.

Hope somebody can help!