![]() ![]() Ajax call will trigger after you type followed by characters Please add the class name mention to any textarea to get feature īelow jQuery code is used to get users suggestion from the database via ajax call while typing in the textarea. To make textarea box grow automatically while typing, you have to use HTML Form In addition to jQuery, it also depends on underscore.js (1.2+), which is used to simplify the whole component. It is nothing but a jQuery extension, so it naturally requires jQuery version (1.6+). I have used ntionsInput plugin that allows you to someone in a textarea box like facebook or twitter. Here denotes the mention – where 4 is the user id mentioned by the user 1 jQuery Plugin to Implement Mention Style Autocomplete Input ![]() All the user’s post are stored in the post_text column of the posts table. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |