jquery - how to set magicsuggest exist value -



jquery - how to set magicsuggest exist value -

i using http://nicolasbize.com/magicsuggest/ site tags function

in edit page. want show existing tags.

but can't set it.

in php, had foreach tags page, how insert magicsuggest existing tags

anyone can tell me how can do?

now js

$(function() { $('#ms').magicsuggest({ placeholder: 'tag here', hidetrigger: true, data: 'get_tags.php', valuefield: 'name', displayfield: 'name', maxentrylength: 8, maxselection: 5, maxdropheight: 145, width:100, }); });

i test these tutorial. not work.

https://github.com/nicolasbize/magicsuggest/issues/15

set default selection magic suggest

jquery json magicsuggest

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -