php - tag friends 2 jquery multiple tagFormat -
i using jquery - tag friend 2 plugin auto-complete action. working fine strings starting @, have use same logic tagformat # same field. result should tracj both @ , # symbols , curresponding ajax urls different. here deafault way of callinf plugin
$(function() { $('#post').tagfriends2({ url: 'userlist.php', debug: false, placeholder: '', onupdate: function(data) { $('#count').text(data.count); }, suggclass: 'suggetions', sugtpl: '<li><a data-val="{id}" href=""><table><tr><td><img src="{profile_image}"></td><td>{profile_name}</td></tr></table></a></li>' }); });
this track @ symbols , giving auto-complete facebook. want autocomplete option # symbols.
purpose: @symbols used tagging users , # symbol brands.
how can this?
currently can't in future.
Comments
Post a Comment